diff --git a/nvim/functions.vim b/nvim/functions.vim index 376f962..ae5b381 100644 --- a/nvim/functions.vim +++ b/nvim/functions.vim @@ -3,13 +3,6 @@ " auto reload .vimrc on write 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). " Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165 if v:version < 700 || exists('loaded_bclose') || &cp diff --git a/nvim/options.vim b/nvim/options.vim index 6f6b16e..10e39d9 100644 --- a/nvim/options.vim +++ b/nvim/options.vim @@ -11,7 +11,7 @@ set background=dark hi MatchParen guibg=NONE guifg=red gui=bold " random settings -set number +set rnu set clipboard=unnamed set mouse=nvi " set smarttab @@ -27,7 +27,6 @@ set history=250 set noshowmode " tabs and line wrap -set tabstop=4 set wrapmargin=8 set softtabstop=0 noexpandtab set shiftwidth=4