From 8e9e41b0613a8ea11b470ee44811612cc66d8094 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 14 Nov 2018 00:29:48 -0500 Subject: Add \l binding to insert AGPL comment --- etc/agpl.c | 15 +++++++++++++++ home/.config/nvim/init.vim | 1 + 2 files changed, 16 insertions(+) create mode 100644 etc/agpl.c diff --git a/etc/agpl.c b/etc/agpl.c new file mode 100644 index 00000000..e2ac6005 --- /dev/null +++ b/etc/agpl.c @@ -0,0 +1,15 @@ +/* Copyright (C) 2018 June McEnroe + * + * 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 . + */ 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 s vip:sort nmap h :$?^#include <:nohlsearchvip:sort nmap a :$?^#include <:nohlsearcho#include < +nmap l :0read ~/src/etc/agpl.c'' -- cgit 1.4.1