Added leader character and one shortcut
This commit is contained in:
parent
0c715d79f0
commit
621eebbe99
1 changed files with 2 additions and 0 deletions
2
vimrc
2
vimrc
|
@ -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 = "\\"
|
||||||
|
|
Loading…
Reference in a new issue