diff options
Diffstat (limited to 'autoload/nohai.vim')
-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() |