]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

configure ultisnips
authormartin f. krafft <madduck@madduck.net>
Thu, 14 Oct 2021 01:44:37 +0000 (14:44 +1300)
committermartin f. krafft <madduck@madduck.net>
Thu, 14 Oct 2021 01:55:45 +0000 (14:55 +1300)
.vimrc

diff --git a/.vimrc b/.vimrc
index 66dbbdfdce6855900a74d92468f7601db68b7f38..dadfc9ca83c59063a683092b029331daa3896e80 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1536,5 +1536,11 @@ endtry
 
 let g:is_posix = 1
 
+let g:UltiSnipsExpandTrigger = "<leader><tab>"
+let g:UltiSnipsJumpForwardTrigger = "<c-]>"
+let g:UltiSnipsJumpBackwardTrigger = "<c-[>"
+map <F10> :UltiSnipsEdit<cr>
+imap <F10> <esc>:UltiSnipsEdit<cr>
+
 let &cpo=s:cpo_save
 unlet s:cpo_save