From dedee48ac37e518ae4161546a740f8b137ce415c Mon Sep 17 00:00:00 2001 From: labrick Date: Tue, 17 Nov 2015 19:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80265=E8=A1=8C=E7=9A=84?= =?UTF-8?q?=E8=AE=B0=E4=BD=8F=E4=B8=8A=E6=AC=A1=E9=80=80=E5=87=BA=E6=97=B6?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimrcs/basic.vim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index f81f3e13..29a92337 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -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^=% """"""""""""""""""""""""""""""