Re: Manipulate selected text

2011-09-30 Thread Tony Mechelynck
On Sep 29, 6:26 pm, Kyle Lippincott  wrote:
> This sounds an awful lot like select mode to me.  Verify before you hit :
> that you're in 'VISIUAL' not 'SELECT' mode.  Investigate the 'selectmode'
> option and 'behave' command to see why this might be getting turned on.
>  It's meant to mimic Microsoft Windows selection model behavior, but I find
> it very confusing..
>
> If you *want* to use select mode but switch to visual for something, ctrl-o
> will switch to visual for one command, ctrl-g will straight up switch.  If
> you accidentally erase something in select mode when you meant to hit
> ctrl-[og] to get to visual first, you can undo it by hitting 'u', then 'gv'
> to regain the previous selection (but you'll still be in select mode, so
> don't forget the ctrl-o or ctrl-g this time ;)).

gv will put you back in Visual mode, even if you were in Select mode
before. At least that's how it happens on GTK2 gvim, and I can't see
why MacVim would do it differently. Not knowing about Ctrl-G, I've
often used gv to go from Select to Visual.

-- 
You received this message from the "vim_mac" 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


Re: Color scheme options getting reset

2011-09-30 Thread Tony Mechelynck
On Sep 29, 11:28 pm, toki  wrote:
> Hi Tony,
>
> That seems to have worked.  Not sure why this didn't take effect when I
> added the lines into the default color profile in the MacVim package.  I
> actually did try making a colorscheme inside the .app package, as well, but
> it didn't work.  I wonder why having it in a local .vim/ directory makes a
> difference.
>
> Anyhow... thanks.  I have never encountered this problem until using vim on
> Mac OS, probably because I'm not too familiar with how the program operates
> on this platform yet.  Always a few kinks to work out.
>
> -t

Neither have I. What I explained in my previous post is what I would
have done (and actually did, though with different custom colors) on
Windows and on GTK2. I'm happy it worked for you too.

-- 
You received this message from the "vim_mac" 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


Re: Manipulate selected text

2011-09-30 Thread Kyle Lippincott
It probably depends on selectmode then.. I think by default on Marin
behavior it's only set to 'mouse', but I set it to all three
(including 'cmd') before writing that.  Even more reason for me to
dislike the feature - too hard to tell what's going to happen ;)

On Sep 30, 2011, at 8:44, Tony Mechelynck  wrote:

> On Sep 29, 6:26 pm, Kyle Lippincott  wrote:
>> This sounds an awful lot like select mode to me.  Verify before you hit :
>> that you're in 'VISIUAL' not 'SELECT' mode.  Investigate the 'selectmode'
>> option and 'behave' command to see why this might be getting turned on.
>>  It's meant to mimic Microsoft Windows selection model behavior, but I find
>> it very confusing..
>>
>> If you *want* to use select mode but switch to visual for something, ctrl-o
>> will switch to visual for one command, ctrl-g will straight up switch.  If
>> you accidentally erase something in select mode when you meant to hit
>> ctrl-[og] to get to visual first, you can undo it by hitting 'u', then 'gv'
>> to regain the previous selection (but you'll still be in select mode, so
>> don't forget the ctrl-o or ctrl-g this time ;)).
>
> gv will put you back in Visual mode, even if you were in Select mode
> before. At least that's how it happens on GTK2 gvim, and I can't see
> why MacVim would do it differently. Not knowing about Ctrl-G, I've
> often used gv to go from Select to Visual.
>
> --
> You received this message from the "vim_mac" 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 from the "vim_mac" 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