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

Matching Pairs »« „“ #74

Closed thestoneage closed 12 years ago

thestoneage commented 12 years ago

I use delimitMate to simply create typographically correct german and swiss quotes. Which works perfect for the swiss ones »« but not for the german ones „“. Guess it's an UTF-8 issue.

UTF-8 Codes „ E2 80 9E “ E2 80 9C » C2 BB « C2 AB

au FileType text let b:delimitMate_matchpairs = "(:),»:«,„:“,"
Raimondi commented 12 years ago

From some tests it seems to be a problem with Vim. Can you start vim like this:

vim -N -u NONE

Now test the following mappings:

imap „ o

see how that works then:

imap <Char-0x201E> p
thestoneage commented 12 years ago

Ok seems to be an Vim issue neither of those mappings you mention work for me in

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul 27 2011 19:46:24) MacOS X (unix) version

Raimondi commented 12 years ago

OK, I'll write to the vim_dev list and see what they say about it.

Raimondi commented 12 years ago

Since it's a bug in Vim I can't do much about it beyond waiting. I'll close the issue, please let me know if find more information.

edgurgel commented 11 years ago

Any news?

Raimondi commented 11 years ago

Not at all. You could try resurrecting the thread: https://groups.google.com/group/vim_dev/browse_thread/thread/999ead89fda913cd