Wednesday, June 22, 2011

Re: Get method name from java libraries?

On Jun 21, 11:26 am, Antonio Recio <amdx6...@gmail.com> wrote:
> It is a function in clojure. I would like to execute the same clojure
> function but replacing only "java.awt,Frame" with the name under the cursor
> in vim. Where I have problems is capturing the name under the cursor and
> replacing. This clojure function I will sent to REPL via VicleSend.

I don't know how VicleSend works, and reading the documentation on the
vim.org page for it wasn't very enlightening. If it can take any old
string and send it where you want it to go, it should be easy to build
this string with expand("<cword>") or expand("<cWORD>"). If you need
to get the text on the command-line, you can use <C-R><C-W> or <C-R><C-
A>.

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

No comments: