Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Mapping for visual mode that starts from insert mode?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ben Fritz  
View profile  
 More options Oct 4 2012, 11:09 am
From: Ben Fritz <fritzophre...@gmail.com>
Date: Thu, 4 Oct 2012 08:09:42 -0700 (PDT)
Local: Thurs, Oct 4 2012 11:09 am
Subject: Re: Mapping for visual mode that starts from insert mode?

On Wednesday, October 3, 2012 9:47:23 PM UTC-5, WU Yue wrote:

> After reading the help of "selectmode", I realize that -- (insert) VISUAL  
> -- is not the SELECT mode, I have a workaround:

> autocmd InsertEnter * setlocal selectmode=mouse,key
> autocmd InsertLeave * setlocal selectmode=""

> sounds not good but it works :)

Oh, I see. I have "behave mswin" buried somewhere in my config which (among other things) sets selectmode to mouse,key. So for me, selecting with the mouse in insert mode DOES use select mode. I had forgotten this was not the default.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.