From e4f42c977548af7fd5de855b40815992bfb5305c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 18 Jul 2013 21:15:32 +1200 Subject: Simple reordering of a couple of lines Pair autoread and autowrite together --- vim/vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index 5c985799..54f425bb 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -244,6 +244,10 @@ set pastetoggle= " 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 -- cgit v1.2.3