> Since I don't see any way to type a curly quote in
> vim...
>From wikipedia "Quotation mark glyphs":
‘O’ U+2018 (8216), U+2019 (8217) Single quotes (left and right)
“O” U+201C (8220), U+201D (8221) Double quotes (left and right)
Thus knowing the codepoints, you can enter them in vim using ctrl-v
u. For example, to get a right double curly quote type (without
spaces, in insert mode, or on the command line or at the / prompt)
ctrl-v u 201d
(If ctrl-v is your paste, use ctrl-q).
Another way to find the codepoints is to paste the text in vim, then
use ga (in normal mode) on them.
If you were going to be doing this a lot, mappings in your .vimrc or a
script file might help, f. ex.
inoremap <f6> <c-v>u201d
HTH, and is relevant, John
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en