diff options
author | Teddy Wing | 2019-12-14 20:02:46 +0100 |
---|---|---|
committer | Teddy Wing | 2019-12-14 20:02:46 +0100 |
commit | c85ebc483e4ce512edef128a563f7be08f9c6994 (patch) | |
tree | 2c6cde9de25cc9b2844db0d308d0015d58258941 /autoload | |
parent | 9ae3c68f3a193c1d3ed387b23ea4ddb89756865f (diff) | |
download | vim-nohai-c85ebc483e4ce512edef128a563f7be08f9c6994.tar.bz2 |
Add license (GNU GPLv3+)
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/nohai.vim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/autoload/nohai.vim b/autoload/nohai.vim index a99c5e0..71f7f3a 100644 --- a/autoload/nohai.vim +++ b/autoload/nohai.vim @@ -1,3 +1,18 @@ +" Copyright (c) 2019 Teddy Wing +" +" Nohai 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. +" +" Nohai 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 Nohai. If not, see <https://www.gnu.org/licenses/>. + " Remaps <CR> in command mode to run `nohlsearch` after accepting the command. function! s:AddMapping() cnoremap <expr> <silent> <CR> <SID>CRAndNohlsearch() |