fix linenumbers
This commit is contained in:
parent
814f5409d0
commit
e0d15d1c18
2 changed files with 1 additions and 9 deletions
|
@ -3,13 +3,6 @@
|
||||||
" auto reload .vimrc on write
|
" auto reload .vimrc on write
|
||||||
autocmd BufWritePost init.vim source %
|
autocmd BufWritePost init.vim source %
|
||||||
|
|
||||||
" toggle hybrid number mode
|
|
||||||
:augroup numbertoggle
|
|
||||||
: autocmd!
|
|
||||||
: autocmd BufEnter,FocusGained,InsertLeave * set relativenumber
|
|
||||||
: autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
|
|
||||||
:augroup END
|
|
||||||
|
|
||||||
" Delete buffer while keeping window layout (don't close buffer's windows).
|
" Delete buffer while keeping window layout (don't close buffer's windows).
|
||||||
" Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165
|
" Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165
|
||||||
if v:version < 700 || exists('loaded_bclose') || &cp
|
if v:version < 700 || exists('loaded_bclose') || &cp
|
||||||
|
|
|
@ -11,7 +11,7 @@ set background=dark
|
||||||
hi MatchParen guibg=NONE guifg=red gui=bold
|
hi MatchParen guibg=NONE guifg=red gui=bold
|
||||||
|
|
||||||
" random settings
|
" random settings
|
||||||
set number
|
set rnu
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
set mouse=nvi
|
set mouse=nvi
|
||||||
" set smarttab
|
" set smarttab
|
||||||
|
@ -27,7 +27,6 @@ set history=250
|
||||||
set noshowmode
|
set noshowmode
|
||||||
|
|
||||||
" tabs and line wrap
|
" tabs and line wrap
|
||||||
set tabstop=4
|
|
||||||
set wrapmargin=8
|
set wrapmargin=8
|
||||||
set softtabstop=0 noexpandtab
|
set softtabstop=0 noexpandtab
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
|
Loading…
Add table
Reference in a new issue