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

maps: return <C-p> if pumvisible() with S-Tab map #148

Closed blueyed closed 10 years ago

blueyed commented 10 years ago

When a popup menu is visible, map to (previous), instead of to delimitMateS-Tab.

I have tried returning itself, but that got not picked up by YouCompleteMe (which maps it to previous also, if the popup menu is visible).

Raimondi commented 10 years ago

I don't think that mapping fits into delimitMate's functionality. If the user wants to go up the completion list with <S-Tab> the mapping should go in the vimrc.