aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLemon <lemon@amadeus.banded-neon.ts.net>2024-06-04 15:48:47 +0100
committerLemon <lemon@amadeus.banded-neon.ts.net>2024-06-04 15:48:47 +0100
commit6ee09ba1cec65dc68b32c91194665e9e418d3769 (patch)
treea156ce13a495a69a4ac17e95272d50581ace9d5f
parent589dd7ddbbbfb749afecb39085756eb76d9f9fc5 (diff)
Adds ultisnips bindings
-rw-r--r--vim/vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 7b6edbe..aba91a5 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -95,6 +95,13 @@ let test#python#pytest#options = '-q -s'
let test#python#runner = 'django'
let test#vimterminal#term_position = "belowright"
+" snippets
+let g:UltiSnipsEditSplit = "vertical"
+let g:UltiSnipsListSnippets = "<leader>s"
+let g:UltiSnipsExpandTrigger = "<c-j>"
+let g:UltiSnipsJumpForwardTrigger = "<c-j>"
+let g:UltiSnipsJumpBackwardTrigger = "<c-k>"
+
if executable('rg')
set grepprg=rg\ --color=never\ --vimgrep