diff options
author | June McEnroe <june@causal.agency> | 2019-11-06 15:49:18 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-06 15:49:18 -0500 |
commit | e7abc551d6e2185a1ebf3cfbdc4b1a0dcc0f967a (patch) | |
tree | a70d011cf8d0a93c4f610af27cc0aa5408976e77 | |
parent | Add uber message (diff) | |
download | src-e7abc551d6e2185a1ebf3cfbdc4b1a0dcc0f967a.tar.gz src-e7abc551d6e2185a1ebf3cfbdc4b1a0dcc0f967a.zip |
Add GPL header template
-rw-r--r-- | etc/gpl.c | 20 | ||||
-rw-r--r-- | home/.config/nvim/init.vim | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/etc/gpl.c b/etc/gpl.c new file mode 100644 index 00000000..f16b1021 --- /dev/null +++ b/etc/gpl.c @@ -0,0 +1,20 @@ +/* Copyright (C) 2019 June 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>'' |