Remove trailingspaces
This commit is contained in:
parent
70b2282e89
commit
5cf7851935
1 changed files with 6 additions and 3 deletions
|
|
@ -83,6 +83,9 @@ set cursorline
|
||||||
"Activate statusbar
|
"Activate statusbar
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
|
"Remove trailing spaces on save
|
||||||
|
autocmd BufWritePre * :%s/\s\+$//e
|
||||||
|
|
||||||
"Copy to clipboard
|
"Copy to clipboard
|
||||||
vnoremap y "+y
|
vnoremap y "+y
|
||||||
vnoremap x "+x
|
vnoremap x "+x
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue