Add custom snippets

This commit is contained in:
Julian Ospald 2018-08-04 19:41:56 +08:00
parent cb32e85d5c
commit 728fc1cc94
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,4 @@
snippet docsec
------------------------
--[ ${0:DOCUMENT SECTION} ]--
------------------------

View File

@ -0,0 +1,2 @@
snippet tc
\textcolor{${1:red}}{${0}}

1
vimrc
View File

@ -183,6 +183,7 @@ if has('conceal')
endif
" Enable snipMate compatibility feature.
let g:neosnippet#enable_snipmate_compatibility = 1
let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
" vim airline