aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-01-27 15:33:09 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-01-27 15:33:09 +1300
commit97b0d2f1d5a608259cca29a1fb4aa65cd6443c93 (patch)
treeda2edb3a96d849832c19111d088776989f726e10 /vim
parentCan't use Eunuch, :W breaks my typo mapping. (diff)
downloaddotfiles-97b0d2f1d5a608259cca29a1fb4aa65cd6443c93.tar.gz
dotfiles-97b0d2f1d5a608259cca29a1fb4aa65cd6443c93.zip
Turns out you don't need the leading colon.
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e93526cf..230b2302 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -83,8 +83,8 @@ if has("extra_search")
if has("autocmd")
augroup vimrc
autocmd!
- silent! autocmd InsertEnter * :setlocal nohlsearch
- silent! autocmd InsertLeave * :setlocal hlsearch
+ silent! autocmd InsertEnter * setlocal nohlsearch
+ silent! autocmd InsertLeave * setlocal hlsearch
augroup END
endif
endif