mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
turn on line numbers and column by default
This commit is contained in:
parent
b1ffcf08ba
commit
488eab8838
@ -50,6 +50,9 @@ set history=500
|
|||||||
filetype plugin on
|
filetype plugin on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
|
|
||||||
|
" Enable line numbers
|
||||||
|
set number
|
||||||
|
|
||||||
" Set to auto read when a file is changed from the outside
|
" Set to auto read when a file is changed from the outside
|
||||||
set autoread
|
set autoread
|
||||||
|
|
||||||
@ -277,7 +280,7 @@ endtry
|
|||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
" Format the status line
|
" Format the status line
|
||||||
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l
|
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l:%c
|
||||||
|
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
Loading…
Reference in New Issue
Block a user