more mappings

This commit is contained in:
ManjaroOne666 2017-10-04 12:16:08 +01:00
parent 033a9cc55c
commit 7871e171f8
1 changed files with 7 additions and 1 deletions

8
vimrc
View File

@ -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