vim changes

- persistent undo
- paragraph as snippet
master
TiynGER 5 years ago
parent 3ff06fdeb3
commit b61d3da860

@ -113,3 +113,8 @@ endsnippet
snippet ,tt "Typewriter" A snippet ,tt "Typewriter" A
\texttt{$1} $2 \texttt{$1} $2
endsnippet endsnippet
snippet ,par "Paragraph" A
\paragraph*{$1}
$2
endsnippet

@ -101,6 +101,12 @@ set encoding=utf-8
" Show relative numbers on left side " Show relative numbers on left side
set number relativenumber set number relativenumber
" enable persistent undo
if has('persistent_undo')
set undofile
set undodir=$XDG_CACHE_HOME/vim/undo
endif
" Colorscheme " Colorscheme
colorscheme codedark colorscheme codedark
highlight CursorLine ctermbg=Yellow cterm=bold guibg=#1b1b1b highlight CursorLine ctermbg=Yellow cterm=bold guibg=#1b1b1b

Loading…
Cancel
Save