diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:22:10 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:22:10 +1300 |
commit | c71e4f16a4e8a7c91ce354f636048c39bdd98275 (patch) | |
tree | 39139cb4844b88ef755ccc35532156dd8b8f114d | |
parent | Move 'modeline' .vimrc setting to file.vim subfile (diff) | |
download | dotfiles-c71e4f16a4e8a7c91ce354f636048c39bdd98275.tar.gz dotfiles-c71e4f16a4e8a7c91ce354f636048c39bdd98275.zip |
Move Fedora workaround .vimrc config into subfile
-rw-r--r-- | vim/config/fedora.vim | 8 | ||||
-rw-r--r-- | vim/vimrc | 9 |
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 @@ -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 |