Change vim key mappings a bit

This commit is contained in:
Théophile Bastian 2017-03-07 01:52:21 +01:00
parent e8e4216a3b
commit 881d274080
1 changed files with 6 additions and 6 deletions

View File

@ -105,12 +105,12 @@ match ExtraWhitespace /\s\+$\| \+\ze\t/
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
""""""""""""""""" Key bindings
map <F1> :w<CR>:!make<CR>
imap <F1> <esc>:echo 'F1 help disabled'<CR>
map <F2> :!git status<CR>
map [[ :lprev<CR>
map ]] :lnext<CR>
map [] :ll<CR>
nnoremap <F1> :w<CR>:!make<CR>
inoremap <F1> <esc>:echo 'F1 help disabled'<CR>
nnoremap <F2> :!git status<CR>
nnoremap __ :lprev<CR>
nnoremap ++ :lnext<CR>
nnoremap _+ :ll<CR>
nnoremap <Leader>w :call TrimWhitespace()<CR>
nnoremap K <Esc>i<CR><Esc>