aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc-full3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc-full b/vimrc-full
index d186aa0..6d00f7b 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -499,6 +499,7 @@ if has("autocmd")
499 augroup END 499 augroup END
500 endif 500 endif
501 501
502 autocmd BufNewFile set nobuflisted
502 " use the shada/viminfo file to return the cursor to where it was... 503 " use the shada/viminfo file to return the cursor to where it was...
503 function! ReturnCursor() 504 function! ReturnCursor()
504 if line("'\"") > 1 && line("'\"") <= line("$") 505 if line("'\"") > 1 && line("'\"") <= line("$")
@@ -561,6 +562,8 @@ if has("autocmd")
561 562
562 " autocmd BufEnter * @f 563 " autocmd BufEnter * @f
563 augroup END 564 augroup END
565
566 autocmd VimEnter * set nobuflisted
564endif 567endif
565 568
566 569
..