Remove cleaning trailing white space
This commit is contained in:
3
vimrc
3
vimrc
@@ -330,7 +330,8 @@ nnoremap <Tab> %
|
||||
vnoremap <Tab> %
|
||||
|
||||
" Strip all trailing whitespace from a file, using ,W
|
||||
nnoremap <leader>W :%s/\s\+$//<CR>:let @/=''<CR>
|
||||
" NO, makes toooo many edits to files
|
||||
"nnoremap <leader>W :%s/\s\+$//<CR>:let @/=''<CR>
|
||||
|
||||
" Use The Silver Searcher over grep, iff possible
|
||||
if executable('ag')
|
||||
|
||||
Reference in New Issue
Block a user