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