1
0
Fork 0
mirror of synced 2024-11-17 14:35:34 -05:00

打开265行的记住上次退出时位置功能

This commit is contained in:
labrick 2015-11-17 19:24:46 +08:00
parent 9771ce2f4d
commit dedee48ac3

View file

@ -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^=%
""""""""""""""""""""""""""""""