Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.98k stars 117 forks source link

can't jump when i use S-TAB #172

Closed huaihuaiVV closed 9 years ago

huaihuaiVV commented 10 years ago

if i use S-TAB in the following text:

function(abcde|fg);

| is the cursor, it can't jump out of ( ) pair, i think should be fix, sometimes i often make some change of function parameters, so cursor is not beside ")" , but should also jump out of ( ) pairs by S-Tab key .

markson commented 10 years ago

It works for me function(abcde|fg); hit S-Tab, cursor moves to function(abcdefg)|; also C-g g works the same

felix-d commented 10 years ago

Same problem here. If I do (abcde|) <S-Tab> --> (abcde)| But if I do (abcd|e) <S-Tab> --> (abcd|e)

I checked the mappings and did a grep in my vim files for S-Tab and delimitMate is the only one using the shortcut.

However <C-g> g works well!

Raimondi commented 9 years ago

Works for me too. If you still have the issue paste the outpu of :DelimitMateTest and give more information about your setup, like what terminal or gui are you using, if running under screen/tmux, what's the value of $TERM and anything else that you think could be relevant.