Change vim key mappings a bit
This commit is contained in:
parent
e8e4216a3b
commit
881d274080
1 changed files with 6 additions and 6 deletions
12
files/.vimrc
12
files/.vimrc
|
@ -105,12 +105,12 @@ match ExtraWhitespace /\s\+$\| \+\ze\t/
|
||||||
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
|
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
|
||||||
|
|
||||||
""""""""""""""""" Key bindings
|
""""""""""""""""" Key bindings
|
||||||
map <F1> :w<CR>:!make<CR>
|
nnoremap <F1> :w<CR>:!make<CR>
|
||||||
imap <F1> <esc>:echo 'F1 help disabled'<CR>
|
inoremap <F1> <esc>:echo 'F1 help disabled'<CR>
|
||||||
map <F2> :!git status<CR>
|
nnoremap <F2> :!git status<CR>
|
||||||
map [[ :lprev<CR>
|
nnoremap __ :lprev<CR>
|
||||||
map ]] :lnext<CR>
|
nnoremap ++ :lnext<CR>
|
||||||
map [] :ll<CR>
|
nnoremap _+ :ll<CR>
|
||||||
nnoremap <Leader>w :call TrimWhitespace()<CR>
|
nnoremap <Leader>w :call TrimWhitespace()<CR>
|
||||||
nnoremap K <Esc>i<CR><Esc>
|
nnoremap K <Esc>i<CR><Esc>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue