]> 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:

ultisnips listing with q
authormartin f. krafft <madduck@madduck.net>
Thu, 3 Feb 2022 06:19:37 +0000 (07:19 +0100)
committermartin f. krafft <madduck@madduck.net>
Thu, 3 Feb 2022 06:26:07 +0000 (07:26 +0100)
.vimrc

diff --git a/.vimrc b/.vimrc
index 4fd169a0733e625423f8a6f84535acefa94cf252..a5039d5843ace4273713a3d421f8da24ef740931 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1537,6 +1537,7 @@ let g:ycm_autoclose_preview_window_after_completion = 1
 let g:UltiSnipsExpandTrigger = "<leader><tab>"
 let g:UltiSnipsJumpForwardTrigger = "<c-]>"
 let g:UltiSnipsJumpBackwardTrigger = "<c-[>"
 let g:UltiSnipsExpandTrigger = "<leader><tab>"
 let g:UltiSnipsJumpForwardTrigger = "<c-]>"
 let g:UltiSnipsJumpBackwardTrigger = "<c-[>"
+let g:UltiSnipsListSnippets = "<leader>q"
 map <F10> :UltiSnipsEdit<cr>
 imap <F10> <esc>:UltiSnipsEdit<cr>
 
 map <F10> :UltiSnipsEdit<cr>
 imap <F10> <esc>:UltiSnipsEdit<cr>