From 83ecaa2e35204cb0ac2f60ee5ee213b3fb46f858 Mon Sep 17 00:00:00 2001 From: labrick <yananback@gmail.com> Date: Fri, 27 Nov 2015 13:08:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89=E5=AF=B9mouse?= =?UTF-8?q?=E7=9A=84=E8=AE=BE=E7=BD=AE=EF=BC=8C=E5=B9=B6=E4=B8=94=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=89=93=E5=BC=80=E6=96=87=E4=BB=B6=E6=97=B6=E5=9B=9E?= =?UTF-8?q?=E5=88=B0=E4=B8=8A=E6=AC=A1=E5=85=B3=E9=97=AD=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= 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 29a92337..2243d2d8 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -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^=% """"""""""""""""""""""""""""""