1
0
Fork 0
mirror of synced 2025-03-30 09:08:26 -04:00

注释掉对mouse的设置,并且设置打开文件时回到上次关闭时的状态

This commit is contained in:
labrick 2015-11-27 13:08:36 +08:00
parent f90e49709e
commit 83ecaa2e35

View file

@ -102,9 +102,9 @@ set hid
set backspace=eol,start,indent
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. modified by YN
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!) opened by YN
" Return to last edit position when opening files (You want this!) modified by YN
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
" Remember info about open buffers on close
set viminfo^=%
set viminfo^=%
""""""""""""""""""""""""""""""