From 1da3d4fbe68b220f1923b01a10eda9432547927e Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Tue, 4 Dec 2018 17:30:15 -0500 Subject: [PATCH] Working on vim config --- nvim/.config/nvim/init.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index e4bf6cb..603c265 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -9,12 +9,17 @@ let g:airline#extensions#tabline#enabled = 1 set mouse=a +" Keep context visible +set scrolloff=2 +set sidescrolloff=0 + set nu set relativenumber set nowrap set linebreak " if we do wrap, do it at word boundaries autocmd FileType markdown set wrap +autocmd FileType tex set wrap " TODO: do I want these all? set tabstop=2 @@ -37,3 +42,11 @@ set spell colorscheme gruvbox set background=dark +set autoread +set updatetime=100 +au FileChangedShell * checktime +au CursorHold * checktime +au CursorHoldI * checktime + +set wildignore +=*/tmp/*,*.pyc,*/__pycache__/* +