aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-30 16:44:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-30 16:44:06 +1200
commit02e4f07c10ae60f85e0493d7594fa008b4b63ec3 (patch)
tree3e8d6f078670e2857b648a4485743c028a86c803 /vim/vimrc
parentUse clearer option name for dircolors call (diff)
downloaddotfiles-02e4f07c10ae60f85e0493d7594fa008b4b63ec3.tar.gz
dotfiles-02e4f07c10ae60f85e0493d7594fa008b4b63ec3.zip
Unset Fedora settings I dislike
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ed306175..88e5dd2d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -516,6 +516,13 @@ nnoremap ZA :wa!<CR>
" done with yy anyway); this fixes it so it only yanks the rest of the line
nnoremap Y y$
+" 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
+augroup fedora
+ autocmd!
+augroup END
+
" If a file named ~/.vimrc.local exists, source its configuration; this is
" useful for defining filetype rules on systems which happen to have files of
" a known type with atypical suffixes or locations