From: Jannik ZANDER Date: Sat, 15 Aug 2020 19:10:46 +0000 (+0200) Subject: New circular windows mapping X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=13439949149f1dd734abe57b79ea97ff1655f906;p=vimfiles.git New circular windows mapping --- diff --git a/vimrc b/vimrc index f5a2270..c50fe21 100644 --- a/vimrc +++ b/vimrc @@ -74,19 +74,19 @@ inoremap jk xnoremap jk cnoremap jk -" Jump windows -noremap -noremap -noremap -noremap -tnoremap j -tnoremap k -tnoremap l -tnoremap h - -" Vim command line -cnoremap -cnoremap +" Circular windows +nnoremap w +nnoremap W + +" Movement in insert mode +inoremap h +inoremap a +inoremap j +inoremap k + +" Movement in command mode +cnoremap +cnoremap cnoreabbrev w!! w !sudo tee "%" " Visual Mode indent @@ -109,6 +109,7 @@ set breakindent set breakindent showbreak=\ + set shiftround set formatoptions+=j +set nostartofline " searching set incsearch hlsearch @@ -321,9 +322,7 @@ silent! packadd! fzf.vim """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" silent! packadd! indentLine -"let g:indentLine_enabled = 1 -"let g:indentLine_setColors = 0 -"let g:indentLine_setConceal = 0 +let g:indentLine_enabled = 1 autocmd! User indentLine doautocmd indentLine Syntax let g:indentLine_color_term = 239 let g:indentLine_color_gui = '#616161'