mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
打开265行的记住上次退出时位置功能
This commit is contained in:
parent
9771ce2f4d
commit
dedee48ac3
@ -104,7 +104,7 @@ set whichwrap+=<,>,h,l
|
||||
|
||||
" In many terminal emulators the mouse works just fine, thus enable it.
|
||||
if has('mouse')
|
||||
set mouse=a
|
||||
" set mouse=a
|
||||
endif
|
||||
|
||||
" Ignore case when searching
|
||||
@ -261,13 +261,13 @@ try
|
||||
catch
|
||||
endtry
|
||||
|
||||
" Return to last edit position when opening files (You want this!)
|
||||
" autocmd BufReadPost *
|
||||
" \ if line("'\"") > 0 && line("'\"") <= line("$") |
|
||||
" \ exe "normal! g`\"" |
|
||||
" \ endif
|
||||
" Return to last edit position when opening files (You want this!) opened by YN
|
||||
autocmd BufReadPost *
|
||||
\ if line("'\"") > 0 && line("'\"") <= line("$") |
|
||||
\ exe "normal! g`\"" |
|
||||
\ endif
|
||||
" Remember info about open buffers on close
|
||||
" set viminfo^=%
|
||||
set viminfo^=%
|
||||
|
||||
|
||||
""""""""""""""""""""""""""""""
|
||||
|
Loading…
Reference in New Issue
Block a user