aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-13 10:41:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-13 10:41:45 +1200
commit4e44ad60ad22cef98e6b51bb43bf67c34343ac08 (patch)
treeadbbf932f0426ebed505fca9dd4c926405742071 /vim/vimrc
parent1bf71e686af4dd1a39afd2ce994771f8aca71110 (diff)
downloaddotfiles-4e44ad60ad22cef98e6b51bb43bf67c34343ac08.tar.gz
dotfiles-4e44ad60ad22cef98e6b51bb43bf67c34343ac08.zip
Move .vimrc reloading stuff into custom plugin
Not sure whether I'll bother packaging this one.
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc12
1 files changed, 0 insertions, 12 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 92052ece..fbe0f177 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -287,15 +287,3 @@ nnoremap <Bslash><Insert> :<C-U>enew<CR>
" Source any .vim files from ~/.vim/config
runtime! config/*.vim
-
-" If we reloaded, reload filetype detection for the active buffer too, so that
-" any local settings for it are restored
-if exists('g:loaded_vimrc')
- if &filetype !=# ''
- doautocmd filetypedetect BufRead
- endif
- echomsg 'Reloaded vimrc: '.$MYVIMRC
-endif
-if 1
- let g:loaded_vimrc = 1
-endif