disable up/down/left/right keys

This commit is contained in:
rallets 2017-12-04 18:12:49 +08:00
parent 6d05b126c0
commit 2c3756fc0e

View File

@ -288,3 +288,9 @@ au TabLeave * let g:lasttab = tabpagenr()
" Super useful! From an idea by Michael Naumann
vnoremap <silent> * :call VisualSelection('f', '')<CR>
vnoremap <silent> # :call VisualSelection('b', '')<CR>
noremap <Up> :echo '戒黄赌毒及上下左右键!'<CR>
noremap <Down> :echo '戒黄赌毒及上下左右键!'<CR>
noremap <Left> :echo '戒黄赌毒及上下左右键!'<CR>
noremap <Right> :echo '戒黄赌毒及上下左右键!'<CR>