disable arrow keys

This commit is contained in:
Jonas Forsberg 2020-07-11 11:29:09 +02:00
parent 1ad947f4a9
commit b3b9f88342
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

14
.vimrc
View File

@ -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 "