aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-18 21:15:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-18 21:15:32 +1200
commite4f42c977548af7fd5de855b40815992bfb5305c (patch)
tree60c84c0863662ff08ab04bcb183d9acbefdcbb8a
parentMore verbose comments for gvimrc too (diff)
downloaddotfiles-e4f42c977548af7fd5de855b40815992bfb5305c.tar.gz
dotfiles-e4f42c977548af7fd5de855b40815992bfb5305c.zip
Simple reordering of a couple of lines
Pair autoread and autowrite together
-rw-r--r--vim/vimrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 5c985799..54f425bb 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -244,6 +244,10 @@ set pastetoggle=<F10>
" file has been altered, quietly update it
set autoread
+" Save a file automatically if I change buffers or perform operations with the
+" argument list; this is particularly helpful for me as I don't use 'hidden'
+set autowrite
+
" Allow the cursor to get to the top or bottom of the screen before scrolling
" vertically, but set a reasonably wide gutter for scrolling horizontally; no
" particular reason, just suits me better
@@ -497,10 +501,6 @@ if has('linebreak')
set showbreak=...
endif
-" Save a file automatically if I change buffers or perform operations with the
-" argument list; this is particularly helpful for me as I don't use 'hidden'
-set autowrite
-
" I really like ZZ and ZQ, so I wrote a couple more mappings; ZW forces a
" write of the current buffer, but doesn't quit, and ZA forces a write of all
" buffers but doesn't quit