Expand au abbreviations
Given that slightly further down the page we strongly recommend against
using abbreviations in the vimrc file, we probably shouldn't suggest
adding any!
author |
Richard Cheng <rcheng@neuratron.com> |
date |
Fri, 13 Apr 2012 16:00:40 +0100 |
parents |
f52bd8e7e36d
|
children |
a8dd2fa6d24c
|
branches/tags |
(none) |
files |
chapters/18.markdown |
Changes
--- a/chapters/18.markdown Wed Apr 11 11:43:41 2012 +0100
+++ b/chapters/18.markdown Fri Apr 13 16:00:40 2012 +0100
@@ -43,8 +43,8 @@
:::vim
augroup filetype_vim
- au!
- au FileType vim setlocal foldmethod=marker
+ autocmd!
+ autocmd FileType vim setlocal foldmethod=marker
augroup END
This will tell Vim to use the `marker` method of folding for any Vimscript