When in Select mode you are still in sort-of Normal mode. Your
autocommand will have to take care of mode stuff by itself. You can use
CTRL-\ CTRN-N to make sure you are in Normal mode.
Okay, I now wrapped the norm! commands in a function and check via
mode() if we are in select mode and t
Thomas wrote:
> > ":behave mswin" only sets a few options, but it is often used in
> > conjunction with ":source $VIMRUNTIME/mswin.vim", which sets a lot of
> > potentially dangerous mappings.
> I only have behave mswin in my vimrc.
>
> This happens with gvim -u NONE --noplugin.
>
> > When yo
":behave mswin" only sets a few options, but it is often used in
conjunction with ":source $VIMRUNTIME/mswin.vim", which sets a lot of
potentially dangerous mappings.
I only have behave mswin in my vimrc.
This happens with gvim -u NONE --noplugin.
When you do ":behave mswin" the shifted cur
Thomas wrote:
> When I use the following command (for demonstration purposes):
>
> au CursorMoved * norm! zz
>
> When I now press or , zz get inserted in the buffer.
>
> These cursor key seem to be set by :behave mswin.
>
> In summary:
> :au CursorMoved * norm! zz
> :behave mswin
> Press or
Thomas wrote:
Hi,
When I use the following command (for demonstration purposes):
au CursorMoved * norm! zz
When I now press or , zz get inserted in the buffer.
These cursor key seem to be set by :behave mswin.
In summary:
:au CursorMoved * norm! zz
:behave mswin
Press or
zz gets inserted.
Hi,
When I use the following command (for demonstration purposes):
au CursorMoved * norm! zz
When I now press or , zz get inserted in the buffer.
These cursor key seem to be set by :behave mswin.
In summary:
:au CursorMoved * norm! zz
:behave mswin
Press or
zz gets inserted.
Is there a wo