more mappings
This commit is contained in:
parent
033a9cc55c
commit
7871e171f8
8
vimrc
8
vimrc
|
@ -153,11 +153,17 @@ nnoremap <leader>en :lnext<CR>
|
||||||
|
|
||||||
" brace/quotes completion
|
" brace/quotes completion
|
||||||
inoremap {{ {<CR><Tab><CR>}<Up><Right>
|
inoremap {{ {<CR><Tab><CR>}<Up><Right>
|
||||||
|
inoremap {{{ {<CR><Tab><CR>};<Up><Right>
|
||||||
inoremap (( ()<Left>
|
inoremap (( ()<Left>
|
||||||
|
inoremap ((( ();<Left><Left>
|
||||||
inoremap "" ""<Left>
|
inoremap "" ""<Left>
|
||||||
|
inoremap """ "";<Left><Left>
|
||||||
inoremap '' ''<Left>
|
inoremap '' ''<Left>
|
||||||
|
inoremap ''' '';<Left><Left>
|
||||||
inoremap [[ []<Left>
|
inoremap [[ []<Left>
|
||||||
|
|
||||||
|
inoremap ;; ;<esc>
|
||||||
|
|
||||||
" abbreviations
|
" abbreviations
|
||||||
iabbrev adn and
|
iabbrev adn and
|
||||||
iabbrev waht what
|
iabbrev waht what
|
||||||
|
@ -181,7 +187,7 @@ set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype
|
||||||
set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
|
set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
|
||||||
set statusline+=%{&fileformat}]\ " file format
|
set statusline+=%{&fileformat}]\ " file format
|
||||||
set statusline+=%{&spelllang}\ \ \ \ \ " Spell language
|
set statusline+=%{&spelllang}\ \ \ \ \ " Spell language
|
||||||
set statusline+=%{fugitive#statusline()}
|
" set statusline+=%{fugitive#statusline()} " fugitive
|
||||||
|
|
||||||
set statusline+=%= " left/right separator
|
set statusline+=%= " left/right separator
|
||||||
set statusline+=[\ %{v:register}\ ]\ " active register
|
set statusline+=[\ %{v:register}\ ]\ " active register
|
||||||
|
|
Loading…
Reference in New Issue