aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-04-27 17:26:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-04-27 17:26:25 +1200
commit67d2bedcc1f5080a8af0189ddcda611bca525be9 (patch)
treea0153111943cc06213edfc3fea8d84862ae7353d
parentOops, looks like there isn't a l/r swap. (diff)
downloaddotfiles-67d2bedcc1f5080a8af0189ddcda611bca525be9.tar.gz
dotfiles-67d2bedcc1f5080a8af0189ddcda611bca525be9.zip
Add reference to optional vim conf file.
-rw-r--r--vim/vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 5f1515ed..390754d6 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -10,6 +10,7 @@ if has("autocmd")
filetype on
filetype indent on
filetype plugin on
+ autocmd BufNewFile,BufRead *.au,*.nz setfiletype bindzone
endif
" Backups
@@ -57,6 +58,8 @@ set history=1000
set nolist
nnoremap <leader>l :set list!<CR>
+" Localisation
+
" Matching
silent! runtime macros/matchit.vim
@@ -175,3 +178,8 @@ if has("virtualedit")
set virtualedit+=block
endif
+" Local
+if filereadable(glob("~/.vimrc.local"))
+ source ~/.vimrc.local
+endif
+