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

Shift-space doesn't trigger space expansion #123

Closed cvincent closed 11 years ago

cvincent commented 11 years ago

If I enter a delimiter such as {, often my finger won't be off the Shift key by the time I hit Space. When this happens the space expansion doesn't. Apparently Vim sees Space and Shift-Space as two separate keystrokes. It might be a good idea to add mirroring mappings for Shift-Space for clumsy typists such as myself.

Raimondi commented 11 years ago

delimitMate has too many mappings already, I'm not going to add a new mapping just to prevent a mistyping. You cold put this mapping in your vimrc:

imap <S-Space> <Space>