mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-10-31 04:21:15 +01:00 
			
		
		
		
	vim changes
- persistent undo - paragraph as snippet
This commit is contained in:
		| @@ -113,3 +113,8 @@ endsnippet | ||||
| snippet ,tt "Typewriter" A | ||||
| \texttt{$1} $2 | ||||
| endsnippet | ||||
|  | ||||
| snippet ,par "Paragraph" A | ||||
| \paragraph*{$1} | ||||
| $2 | ||||
| endsnippet | ||||
|   | ||||
| @@ -101,6 +101,12 @@ set encoding=utf-8 | ||||
| " Show relative numbers on left side | ||||
| set number relativenumber | ||||
|  | ||||
| " enable persistent undo | ||||
| if has('persistent_undo') | ||||
|     set undofile | ||||
|     set undodir=$XDG_CACHE_HOME/vim/undo | ||||
| endif | ||||
|  | ||||
| " Colorscheme | ||||
| colorscheme codedark | ||||
| highlight CursorLine ctermbg=Yellow cterm=bold guibg=#1b1b1b | ||||
|   | ||||
		Reference in New Issue
	
	Block a user