1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-28 01:12:34 +01:00

added support for <shift-tab> to go back a tab stop, and cleaned up the code a bit

This commit is contained in:
Michael Sanders
2009-07-12 19:59:04 -04:00
parent c9d9d3a85d
commit 9e11b093d4
4 changed files with 132 additions and 74 deletions

View File

@@ -7,6 +7,8 @@ let s:did_snips_mappings = 1
ino <silent> <tab> <c-r>=TriggerSnippet()<cr>
snor <silent> <tab> <esc>i<right><c-r>=TriggerSnippet()<cr>
ino <silent> <s-tab> <c-r>=BackwardsSnippet()<cr>
snor <silent> <s-tab> <esc>i<right><c-r>=BackwardsSnippet()<cr>
ino <silent> <c-r><tab> <c-r>=ShowAvailableSnips()<cr>
" The default mappings for these are annoying & sometimes break snipMate.