commit aa13b4f8cff17a76585d0c6246acf89e8407187d
parent 6dc3843ecebbb88b0184a8483636a48923b966b4
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 23 Nov 2019 13:24:23 -0500
vim: various configs
Former-commit-id: 4c537d4fb65e0410edb1fd3fa071827beb00b4a2
Diffstat:
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -109,6 +109,10 @@ Plug 'junegunn/vim-easy-align'
"
" Peek contents of registers
Plug 'junegunn/vim-peekaboo'
+
+Plug 'joom/latex-unicoder.vim'
+
+Plug 'psliwka/vim-smoothie'
call plug#end()
" }}}
" Config {{{
@@ -205,7 +209,8 @@ let g:tagbar_type_zsh = {
let g:doge_mapping = '<leader>gd'
" }}}
" Goyo {{{
-let g:goyo_width = 120
+let g:goyo_width = "80%"
+let g:goyo_height = "85%"
" }}}
" Vimtex {{{
let g:tex_flavor='latex'
@@ -434,7 +439,7 @@ endif
set wildmode=longest:list,full
" Add everything to sessions
-set sessionoptions=buffers,curdir,folds,globals,localoptions,options,resize,tabpages,terminal
+set sessionoptions=buffers,curdir,folds,globals,localoptions,options,resize,tabpages
" }}}
" Editor {{{
" In general, don't want anything concealed
@@ -458,6 +463,9 @@ set nowrap
set linebreak
set textwidth=500
+" Reduce waiting on keys (like esc)
+set timeoutlen=1000 ttimeoutlen=0
+
" Continue wrapped line on same indent as previous
if has('breakindent')
set breakindent
@@ -571,6 +579,7 @@ if has('terminal')
cnoreabbrev wt terminal
cnoreabbrev tm terminal man
cnoreabbrev tr terminal lf
+ command! Tuir tab terminal tuir
endif
" }}}
" Symbols {{{