Adding vim alias to trim whitespace
This commit is contained in:
parent
496cef7602
commit
ffc303b4aa
3 changed files with 5 additions and 2 deletions
3
vimrc
3
vimrc
|
|
@ -166,6 +166,9 @@ nnoremap <leader>4 :! p4 edit %<cr>
|
|||
" open vsplit and switch to it
|
||||
nnoremap <leader>w <c-w>v<c-w>l
|
||||
|
||||
" trim whitespace
|
||||
nnoremap <leader>W :%s/\s\+$//e<cr>
|
||||
|
||||
" open Ack
|
||||
nnoremap <leader>a :Ack<space>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue