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

mapping <c-j> to JumpAny does not work #132

Closed octohex closed 11 years ago

octohex commented 11 years ago

mapping like the following does not work:

inoremap <c-j> <C-R>=delimitMate#JumpAny("\<c-j>")<CR>

this leads to Missing quote: "\ I try this, because it's also the default binding for ultisnips 'jump to next selection' and it would be nice if i could use the same keys.

Raimondi commented 11 years ago

I just pushed a fix for this. Use the following mapping instead:

imap <C-J> <Plug>delimitMateS-Tab