From 13439949149f1dd734abe57b79ea97ff1655f906 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sat, 15 Aug 2020 21:10:46 +0200 Subject: [PATCH] New circular windows mapping --- vimrc | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) 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' -- 2.43.0