disable arrow keys
This commit is contained in:
parent
1ad947f4a9
commit
b3b9f88342
14
.vimrc
14
.vimrc
@ -1,3 +1,16 @@
|
||||
nnoremap <Left> :echo "No left for you!"<CR>
|
||||
vnoremap <Left> :<C-u>echo "No left for you!"<CR>
|
||||
inoremap <Left> <C-o>:echo "No left for you!"<CR>
|
||||
nnoremap <Right> :echo "No right for you!"<CR>
|
||||
vnoremap <Right> :<C-u>echo "No right for you!"<CR>
|
||||
inoremap <Right> <C-o>:echo "No right for you!"<CR>
|
||||
nnoremap <Up> :echo "No left up you!"<CR>
|
||||
vnoremap <Up> :<C-u>echo "No up for you!"<CR>
|
||||
inoremap <Up> <C-o>:echo "No up for you!"<CR>
|
||||
nnoremap <Down> :echo "No Down for you!"<CR>
|
||||
vnoremap <Down> :<C-u>echo "No Down for you!"<CR>
|
||||
inoremap <Down> <C-o>:echo "No Down for you!"<CR>
|
||||
|
||||
" Basic vim settings
|
||||
set title
|
||||
set number
|
||||
@ -50,7 +63,6 @@ endfunction
|
||||
noremap <Leader>_h :call Highlight()<CR>
|
||||
nmap <F2> i**<C-R>=strftime("%Y-%m-%d %H:%M:%S")<CR>**<CR><CR><Esc>
|
||||
imap <F2> **<C-R>=strftime("%Y-%m-%d %H:%M:%S")<CR>**<CR><CR>
|
||||
nmap <F8> c~<c-r>"~
|
||||
|
||||
""""""""""""""""""""
|
||||
" GnuPG Extensions "
|
||||
|
Loading…
Reference in New Issue
Block a user