Is it possible to simulate typing with a keymap inside
an expression?
I want to match a pattern, say '{%\(\w\+\):(.\{-})%}'
and replace the matched text with what \2 would have become,
had it been typed with keymap=\1. Is that possible?
I've already found out that
:setl keymap=foo
:norm iblah
does *not* work...
/bpj
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment