mirror of
https://github.com/gryf/snipmate.vim.git
synced 2026-10-09 15:12:29 +02:00
added support for <shift-tab> to go back a tab stop, and cleaned up the code a bit
This commit is contained in:
1 parent
c9d9d3a85d
commit
9e11b093d4
4 files changed
+132
-74
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user