aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:22:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:22:10 +1300
commitc71e4f16a4e8a7c91ce354f636048c39bdd98275 (patch)
tree39139cb4844b88ef755ccc35532156dd8b8f114d
parentMove 'modeline' .vimrc setting to file.vim subfile (diff)
downloaddotfiles-c71e4f16a4e8a7c91ce354f636048c39bdd98275.tar.gz
dotfiles-c71e4f16a4e8a7c91ce354f636048c39bdd98275.zip
Move Fedora workaround .vimrc config into subfile
-rw-r--r--vim/config/fedora.vim8
-rw-r--r--vim/vimrc9
2 files changed, 8 insertions, 9 deletions
diff --git a/vim/config/fedora.vim b/vim/config/fedora.vim
new file mode 100644
index 00000000..ff6cadfc
--- /dev/null
+++ b/vim/config/fedora.vim
@@ -0,0 +1,8 @@
+" 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
+if has('autocmd')
+ augroup fedora
+ autocmd!
+ augroup END
+endif
diff --git a/vim/vimrc b/vim/vimrc
index 19877316..040d1165 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -57,12 +57,3 @@ if v:version >= 701
else
set switchbuf=useopen
endif
-
-" 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
-if has('autocmd')
- augroup fedora
- autocmd!
- augroup END
-endif