projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update changelog for release
[grml-etc-core.git]
/
etc
/
skel
/
.vimrc
diff --git
a/etc/skel/.vimrc
b/etc/skel/.vimrc
index
99c5a0d
..
7ef9a42
100644
(file)
--- a/
etc/skel/.vimrc
+++ b/
etc/skel/.vimrc
@@
-25,10
+25,12
@@
" autocommands:
" when the file type is "mail" then set the textwidth to "70":
" autocommands:
" when the file type is "mail" then set the textwidth to "70":
- au FileType mail set tw=70
+ if has("autocmd")
+ au FileType mail set tw=70
" When editing a file, always jump to the last cursor position
" au BufReadPost * if line("'\"") | exe "'\"" | endif
" When editing a file, always jump to the last cursor position
" au BufReadPost * if line("'\"") | exe "'\"" | endif
- autocmd BufReadPost * if line("'\"") && line("'\"") <= line("$") | exe "normal `\"" | endif
+ autocmd BufReadPost * if line("'\"") && line("'\"") <= line("$") | exe "normal `\"" | endif
+ endif
" some colors - as an example "white on black" [use bold fonts]:
" hi normal ctermfg=white ctermbg=black guifg=white guibg=black
" some colors - as an example "white on black" [use bold fonts]:
" hi normal ctermfg=white ctermbg=black guifg=white guibg=black