summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-11-14 00:29:48 -0500
committerJune McEnroe <june@causal.agency>2018-11-14 00:29:48 -0500
commit4d633ecee6d1edfeffb567e532f8c00aaa340629 (patch)
tree88f6ec8546b064d9a2f85eb037b1d01f84a66422
parentAdd Chromatics — Running Up That Hill (diff)
downloadsrc-4d633ecee6d1edfeffb567e532f8c00aaa340629.tar.gz
src-4d633ecee6d1edfeffb567e532f8c00aaa340629.zip
Add \l binding to insert AGPL comment
-rw-r--r--etc/agpl.c15
-rw-r--r--home/.config/nvim/init.vim1
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>''
June McEnroe 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe 2020-02-11Cast towupper to wchar_tJune McEnroe 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe