From 54d9eb8e262d20e1f9f172201fe1829492f801c4 Mon Sep 17 00:00:00 2001 From: wangjun <1427014893@qq.com> Date: Sat, 24 Jul 2021 09:18:12 +0800 Subject: [PATCH] fix(basic.vim): fix some set about basic.vim --- vimrcs/basic.vim | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index 4b3173ca..6839e220 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -33,6 +33,9 @@ " Sets how many lines of history VIM has to remember set history=500 +" set line number +set nu + " Enable filetype plugins filetype plugin on filetype indent on @@ -179,9 +182,9 @@ set expandtab " Be smart when using tabs ;) set smarttab -" 1 tab == 4 spaces -set shiftwidth=4 -set tabstop=4 +" 1 tab == 2 spaces +set shiftwidth=2 +set tabstop=2 " Linebreak on 500 characters set lbr