diff options
author | June McEnroe <june@causal.agency> | 2018-11-14 00:29:48 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-14 00:29:48 -0500 |
commit | 4d633ecee6d1edfeffb567e532f8c00aaa340629 (patch) | |
tree | 88f6ec8546b064d9a2f85eb037b1d01f84a66422 | |
parent | Add Chromatics — Running Up That Hill (diff) | |
download | src-4d633ecee6d1edfeffb567e532f8c00aaa340629.tar.gz src-4d633ecee6d1edfeffb567e532f8c00aaa340629.zip |
Add \l binding to insert AGPL comment
-rw-r--r-- | etc/agpl.c | 15 | ||||
-rw-r--r-- | home/.config/nvim/init.vim | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/etc/agpl.c b/etc/agpl.c new file mode 100644 index 00000000..f7bb1230 --- /dev/null +++ b/etc/agpl.c @@ -0,0 +1,15 @@ +/* Copyright (C) 2018 Curtis McEnroe <june@causal.agency> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 35f133ab..8dee0fb3 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -28,3 +28,4 @@ let g:clipboard = {'copy':{'+':'pbcopy'},'paste':{'+':'pbpaste'}} nmap <leader>s vip:sort<CR> nmap <leader>h :$?^#include <<CR>:nohlsearch<CR>vip:sort<CR> nmap <leader>a :$?^#include <<CR>:nohlsearch<CR>o#include < +nmap <leader>l :0read ~/src/etc/agpl.c<CR>'' |