summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-06 15:49:18 -0500
committerJune McEnroe <june@causal.agency>2019-11-06 15:49:18 -0500
commit94fd6dab3c7bccdede7d1723f0f9c82e8e350fa2 (patch)
treed482e21030a49baff90399a3156f2c45c125e013
parentAdd uber message (diff)
downloadsrc-94fd6dab3c7bccdede7d1723f0f9c82e8e350fa2.tar.gz
src-94fd6dab3c7bccdede7d1723f0f9c82e8e350fa2.zip
Add GPL header template
Diffstat (limited to '')
-rw-r--r--etc/gpl.c20
-rw-r--r--home/.config/nvim/init.vim1
2 files changed, 21 insertions, 0 deletions
diff --git a/etc/gpl.c b/etc/gpl.c
new file mode 100644
index 00000000..6c0dafaa
--- /dev/null
+++ b/etc/gpl.c
@@ -0,0 +1,20 @@
+/* Copyright (C) 2019  C. McEnroe <june@causal.agency>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#include <err.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <sysexits.h>
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index 92d08f4d..795148d7 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -32,3 +32,4 @@ nmap gp `[v`]
 nmap <leader>s vip:sort<CR>
 nmap <leader>a m':0/^#include <<CR>:nohlsearch<CR>O#include <
 nmap <leader>l :0read ~/src/etc/agpl.c<CR>''
+nmap <leader>L :0read ~/src/etc/gpl.c<CR>''