Wednesday, May 29, 2013

Re: insert mode mapping to move to a column

On Wed, May 29, 2013 11:15, sinbad wrote:
> how to move to a column in the current line,
> to the column same as the next word from
> the current position in the above line.
> This is the best i could explain.
>
> example.
>
> 123456789
> move to here
> i*
>
> * - do something here such that i
> automatically go to column 6, which
> is the next starting word from the
> current position in the preceding line.

:set ve=all
Then you can type from insert mode <c-o>6|
and continue inserting in column 6

regards,
Christian

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

Post a Comment