Working on vim config
This commit is contained in:
parent
2ae2c5b4d4
commit
1da3d4fbe6
1 changed files with 13 additions and 0 deletions
|
@ -9,12 +9,17 @@ let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
||||||
|
" Keep context visible
|
||||||
|
set scrolloff=2
|
||||||
|
set sidescrolloff=0
|
||||||
|
|
||||||
set nu
|
set nu
|
||||||
set relativenumber
|
set relativenumber
|
||||||
|
|
||||||
set nowrap
|
set nowrap
|
||||||
set linebreak " if we do wrap, do it at word boundaries
|
set linebreak " if we do wrap, do it at word boundaries
|
||||||
autocmd FileType markdown set wrap
|
autocmd FileType markdown set wrap
|
||||||
|
autocmd FileType tex set wrap
|
||||||
|
|
||||||
" TODO: do I want these all?
|
" TODO: do I want these all?
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
|
@ -37,3 +42,11 @@ set spell
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
|
set autoread
|
||||||
|
set updatetime=100
|
||||||
|
au FileChangedShell * checktime
|
||||||
|
au CursorHold * checktime
|
||||||
|
au CursorHoldI * checktime
|
||||||
|
|
||||||
|
set wildignore +=*/tmp/*,*.pyc,*/__pycache__/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue