Feat: vim snippets

This commit is contained in:
Bertrand Benjamin 2020-04-20 09:14:46 +02:00
parent 54b49ec564
commit 4bc14b752c
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,15 @@
snippet index
${1: Title}
${1/./#/g}
:date: ${2: `date +%Y-%m-%d`}
:modified: $2
:authors: Bertrand Benjamin
:category: ${3:Classe/niveau}
:tags: ${4:Themes}
:summary: $1
Étape 1: ${5}
=========${5/./=/g}
endsnippet

View File

@ -20,6 +20,8 @@ let g:UltiSnipsEditSplit='vertical'
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe. " Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
" let g:UltiSnipsExpandTrigger="tab" " let g:UltiSnipsExpandTrigger="tab"
let g:UltiSnipsExpandTrigger="<c-k>" let g:UltiSnipsExpandTrigger="<c-k>"
let g:UltiSnipsJumpForwardTrigger="<c-k>"
let g:UltiSnipsJumpBackwardTrigger="<c-j>"
" Airline " Airline
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1