This website works better with JavaScript.
Home
Help
Sign In
ryanreed
/
dotfiles-chezmoi
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Activity
Browse Source
Adding whitespace trimming on save
pull/2/head
Ryan Reed
3 years ago
parent
201745d6d7
commit
073ba2968c
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
dot_vim/vimrc
+ 3
- 0
dot_vim/vimrc
View File
@ -238,3 +238,6 @@
nmap
<
leader
>
D
ysiw
nmap
<
leader
>
D
ysiw
nnoremap
<
leader
>
j
:%
!
python
-
m
json
.
tool
<
CR
>
" Pretty print json
nnoremap
<
leader
>
j
:%
!
python
-
m
json
.
tool
<
CR
>
" Pretty print json
" 05 - Auto Commands
autocmd
BufWritePre
* :%
s
/\s\+$/
/
e
" Remove trailing whitespace on save
Write
Preview
Loading…
Cancel
Save