From e7abc551d6e2185a1ebf3cfbdc4b1a0dcc0f967a Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 6 Nov 2019 15:49:18 -0500 Subject: Add GPL header template --- etc/gpl.c | 20 ++++++++++++++++++++ home/.config/nvim/init.vim | 1 + 2 files changed, 21 insertions(+) create mode 100644 etc/gpl.c 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 + * + * 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 . + */ + +#include +#include +#include +#include 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 s vip:sort nmap a m':0/^#include <:nohlsearchO#include < nmap l :0read ~/src/etc/agpl.c'' +nmap L :0read ~/src/etc/gpl.c'' -- cgit 1.4.1