Use nnoremap insead of nmap

This commit is contained in:
Anthony Rose 2019-06-19 09:49:58 +01:00
parent 4e19ccdf92
commit 2b2ad3c01b

6
vimrc
View file

@ -23,13 +23,13 @@ inoremap <down> <nop>
inoremap <left> <nop> inoremap <left> <nop>
inoremap <right> <nop> inoremap <right> <nop>
inoremap <up> <nop> inoremap <up> <nop>
nmap <F7> :setlocal spell! spelllang=en_gb<CR>
nmap <F10> :put =strftime('%FT%T%z')<CR>
nmap <F11> :Goyo<bar>:Limelight!!<CR>
nnoremap <down> <nop> nnoremap <down> <nop>
nnoremap <left> <nop> nnoremap <left> <nop>
nnoremap <right> <nop> nnoremap <right> <nop>
nnoremap <up> <nop> nnoremap <up> <nop>
nnoremap <F7> :setlocal spell! spelllang=en_gb<CR>
nnoremap <F10> :put =strftime('%FT%T%z')<CR>
nnoremap <F11> :Goyo<bar>:Limelight!!<CR>
set autoindent set autoindent
set autoread set autoread
set background=dark set background=dark