mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
fix(basic.vim): fix some set about basic.vim
This commit is contained in:
parent
a8f0b6f678
commit
54d9eb8e26
@ -33,6 +33,9 @@
|
|||||||
" Sets how many lines of history VIM has to remember
|
" Sets how many lines of history VIM has to remember
|
||||||
set history=500
|
set history=500
|
||||||
|
|
||||||
|
" set line number
|
||||||
|
set nu
|
||||||
|
|
||||||
" Enable filetype plugins
|
" Enable filetype plugins
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
@ -179,9 +182,9 @@ set expandtab
|
|||||||
" Be smart when using tabs ;)
|
" Be smart when using tabs ;)
|
||||||
set smarttab
|
set smarttab
|
||||||
|
|
||||||
" 1 tab == 4 spaces
|
" 1 tab == 2 spaces
|
||||||
set shiftwidth=4
|
set shiftwidth=2
|
||||||
set tabstop=4
|
set tabstop=2
|
||||||
|
|
||||||
" Linebreak on 500 characters
|
" Linebreak on 500 characters
|
||||||
set lbr
|
set lbr
|
||||||
|
Loading…
Reference in New Issue
Block a user