Wednesday, February 6, 2013

Re: vim: help for scripting

> wasn't implemented via the regular vim map, but it comes with the Voom
> plugin , written in python.
Do what I said:
1) use map <cr> to find out whether the mapping already
exist when you run the code.
2) lookup how the the Voom plugin does map <CR> to a key.
There is no python magic - all mappings are done in Vim - so you're
likely to be wrong about assuming its related to python.

grep the plugin code for CR and cr and you'll be lucky. Then try using
the right hand side instead of sendig <cr> - you may get more helpful
error messages then.

Marc Weber

--
--
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.

No comments: