diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -533,9 +533,11 @@ nnoremap Y y$ " Fedora's default environment adds a few auto commands that I don't like, " including the 'return to previous position in buffer' one; fortunately " they're nice enough to group the commands, so I can just clear them -augroup fedora - autocmd! -augroup END +if has('autocmd') + augroup fedora + autocmd! + augroup END +endif " If a file named ~/.vimrc.local exists, source its configuration; this is " useful for defining filetype rules on systems which happen to have files of |