Changed the shortcut for retab because terminal

New shortcut:
  <Shift-Tab> retab
  <Shift-Tab>x2 change tab mode
This commit is contained in:
Talia 2017-08-19 09:02:59 +02:00
parent 380ce2d794
commit 85b22787ba

4
vimrc
View file

@ -126,8 +126,8 @@ nnoremap <C-x> :bdelete<enter>
nnoremap <C-n> :bnext<enter> nnoremap <C-n> :bnext<enter>
nnoremap <C-n> :bprevious<enter> nnoremap <C-n> :bprevious<enter>
" Retab mappings " Retab mappings
nnoremap <C-tab> :retab!<enter> nnoremap <S-tab> :retab!<enter>
nnoremap <C-S-tab> :setl expandtab!<enter> :set expandtab?<enter> nnoremap <S-tab><S-tab> :setl expandtab!<enter> :set expandtab?<enter>
" Unprintable Characters " Unprintable Characters
noremap <F4> :setl list!<enter> noremap <F4> :setl list!<enter>
set listchars=eol,tab:»\ ,trail:. set listchars=eol,tab:»\ ,trail:.