diff options
Diffstat (limited to 'vimrc-full')
| -rw-r--r-- | vimrc-full | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -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 | ||
| 564 | endif | 567 | endif |
| 565 | 568 | ||
| 566 | 569 | ||
