Friday, June 19, 2015

Execute a command from cursor position to the end of the line

People,

I have convenient setups for executing a whole line command where the
cursor is eg:

nnoremap <F8> :Execute<CR>

but I can't find a simple way to do the same thing from the column where
the cursor is to the end of the line (eg "#"s and other comment
characters at the beginning of the line upset the existing method).

I presume it is possible to do somehow?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

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

No comments:

Post a Comment