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.
|
" In many terminal emulators the mouse works just fine, thus enable it.
|
||||||
if has('mouse')
|
if has('mouse')
|
||||||
set mouse=a
|
" set mouse=a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Ignore case when searching
|
" Ignore case when searching
|
||||||
@ -261,13 +261,13 @@ try
|
|||||||
catch
|
catch
|
||||||
endtry
|
endtry
|
||||||
|
|
||||||
" Return to last edit position when opening files (You want this!)
|
" Return to last edit position when opening files (You want this!) opened by YN
|
||||||
" autocmd BufReadPost *
|
autocmd BufReadPost *
|
||||||
" \ if line("'\"") > 0 && line("'\"") <= line("$") |
|
\ if line("'\"") > 0 && line("'\"") <= line("$") |
|
||||||
" \ exe "normal! g`\"" |
|
\ exe "normal! g`\"" |
|
||||||
" \ endif
|
\ endif
|
||||||
" Remember info about open buffers on close
|
" Remember info about open buffers on close
|
||||||
" set viminfo^=%
|
set viminfo^=%
|
||||||
|
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""
|
||||||
|
Loading…
Reference in New Issue
Block a user