aboutsummaryrefslogtreecommitdiff
path: root/plugin/snippets.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/snippets.vim')
-rw-r--r--plugin/snippets.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugin/snippets.vim b/plugin/snippets.vim
new file mode 100644
index 0000000..dcf265b
--- /dev/null
+++ b/plugin/snippets.vim
@@ -0,0 +1,12 @@
1
2augroup ULTISNIPS
3 if has("python") || has('python3')
4 let g:UltiSnipsExpandTrigger = '<Tab>'| " expands the snippet, be careful not to use <tab> elsewhere (ycm uses it by default, but it has been deactivated by g:ycm_key_list_select_completion)
5 let g:UltiSnipsJumpForwardTrigger = '<Tab>'|
6 let g:UltiSnipsJumpBackwardTrigger = '<S-Tab>'|
7
8 packadd vim-snippets
9 packadd ultisnips
10 endif
11augroup END
12
..