home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a5ef7f7
)
Grow vimrc.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 15 Sep 2015 19:47:13 +0000
(21:47 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 15 Sep 2015 19:47:13 +0000
(21:47 +0200)
dotfiles_user_minimal/vimrc
patch
|
blob
|
history
diff --git
a/dotfiles_user_minimal/vimrc
b/dotfiles_user_minimal/vimrc
index 107aef98c9bb5bfb9d840a88c1edb1d13bfc96b0..0110b6e72c3a50747a4ffc5acef83342b04393f7 100644
(file)
--- a/
dotfiles_user_minimal/vimrc
+++ b/
dotfiles_user_minimal/vimrc
@@
-16,3
+16,6
@@
set backupdir=~/.vimbackups
let myvar = strftime("%Y-%m-%d_%H-%M-%S")
let myvar = "set backupext=_". myvar
execute myvar
let myvar = strftime("%Y-%m-%d_%H-%M-%S")
let myvar = "set backupext=_". myvar
execute myvar
+
+" Keep syntax highlighting healthy.
+autocmd BufEnter * :syntax sync fromstart