Disallowed arrow keys
This commit is contained in:
parent
d5656cec61
commit
005af30223
19
.vimrc
19
.vimrc
@ -45,6 +45,16 @@ inoremap :q <Esc>:q
|
||||
inoremap yy <Esc>yy
|
||||
inoremap ddd <Esc>dd
|
||||
|
||||
" Force me to stop using arrow keys
|
||||
inoremap <Left> <Nop>
|
||||
nnoremap <Left> <Nop>
|
||||
inoremap <Right> <Nop>
|
||||
nnoremap <Right> <Nop>
|
||||
inoremap <Up> <Nop>
|
||||
nnoremap <Up> <Nop>
|
||||
inoremap <Down> <Nop>
|
||||
nnoremap <Down> <Nop>
|
||||
|
||||
" Fix Home/End/Delete
|
||||
set backspace=indent,eol,start
|
||||
"fixdel
|
||||
@ -60,6 +70,15 @@ set statusline=[%n]\ %<%F\ \ \ [%M%R%H%W%Y][%{&ff}]\ \ %=\ line:%l/%L\ col:%c\
|
||||
|
||||
"set spell spelllang=en
|
||||
"
|
||||
" Force me to stop using arrow keys
|
||||
inoremap <Left> <Esc>
|
||||
nnoremap <Left> <Nop>
|
||||
inoremap <Right> <Esc>
|
||||
nnoremap <Right> <Nop>
|
||||
inoremap <Up> <Esc>
|
||||
nnoremap <Up> <Nop>
|
||||
inoremap <Down> <Esc>
|
||||
nnoremap <Down> <Nop>
|
||||
|
||||
" Change cursor from block to vertical pipe when in insert mode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user