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/
|
||||
|
||||
""""""""""""""""" 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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue