47071Re: Defining new visual-mode motions?
- Jun 2, 2007Yegappan Lakshmanan schrieb:
> Hi,The following is possible:
> On 6/2/07, Andy Wokula <anwoku@...> wrote:
>> Within a function (or script or Ex-mode), the visual area is not
>> turned off
>> between ex commands, because there is no actual mode switching
>> ... IMHO.
>> I don't know if this is mentioned in the help.
> According to ":help mode-switching", it is not possible to enter visual
> from Ex or command-line mode. Either the table under ":help i_esc" needs
> to be updated or this needs to be fixed.
> According to that table, you can enter visual mode only from either
> normal or
> select modes.
> - Yegappan
" enter Ex mode
" extend visual area
" quit Ex mode, enter Visual mode
Hmm, seems the table needs an update.
Unfortunately, :visual is ambigious.
- << Previous post in topic