Hi
I would like to execute a certain function whenever I yank some text
in visual mode and the best way I found to do this was to remap 'y':
vnoremap <silent> y :call Hook()<cr>
The problem is that this function replaces the default yank action so
I need I way to manually yank from inside the function. Whats the best
way to achieve this?
--
--
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.
Thursday, April 4, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment