Added leader character and one shortcut

This commit is contained in:
Talia 2017-09-06 08:50:34 +02:00 committed by GitHub
parent 0c715d79f0
commit 621eebbe99

2
vimrc
View file

@ -139,6 +139,7 @@ set showbreak=+->\
" Commands " Commands
com! Setwd :cd %:p:h com! Setwd :cd %:p:h
com! Removetrailingspaces :%s/\ \+$//ge com! Removetrailingspaces :%s/\ \+$//ge
nmap <leader>t :Removetrailingspaces<enter>
set statusline=(%n)\ %f\ [%M%R]\ [%Y]%=%l,%c%V\ %4.P set statusline=(%n)\ %f\ [%M%R]\ [%Y]%=%l,%c%V\ %4.P
set laststatus=2 set laststatus=2
set cmdheight=1 set cmdheight=1
@ -146,3 +147,4 @@ set winheight=10
set winminheight=4 set winminheight=4
set winheight=9999 set winheight=9999
set timeoutlen=300 set timeoutlen=300
let mapleader = "\\"