> >> nnoremap <F8> :Execute<CR>
> >
> >Could you provide the content of your Execute() function? It would
> >help to replicate the behavior you want on an extract of the line.
>
>
> The ones I currently have are:
>
> # :Voom
> # :se foldmethod=marker
> # :.,$VoomSort
I think Tim wanted the definition of the Execute command.
Anyway, you can get the content of a line from the cursor to its end
with:
getline(".")[col(".")-1:]
You can pass that to whatever does you execution in you original
command.
Best,
Paul
--
--
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/d/optout.
Friday, June 19, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment