Re: Manipulate selected text

2011-11-15 Thread Benjamin ter Kuile
After using the good old terminal vim for a while again I will give it another shot. Thanks for all the suggestions/workarounds. The many tips to work around the problems shows how versatile vim is. For me there were two tips that made it work for me, so here the summary: typing ctrl-g when text i

Re: Manipulate selected text

2011-10-06 Thread Carl Jacobsen
On Thu, 29 Sep 2011, Andrew Stewart wrote: On Sep 29, 4:07 pm, bterkuile wrote: How can I fix this? Or is there even a better way of doing this (meaning typing commands, not just replacing text). I cannot find the solution on google. Yes, use ranges. Turn on line numbers with `:set number`

Re: Manipulate selected text

2011-10-01 Thread Tony Mechelynck
On Sep 30, 7:13 pm, Kyle Lippincott wrote: > 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 goin

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 Meche

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 Micros

Re: Manipulate selected text

2011-09-29 Thread Andrew Stewart
On Sep 29, 4:07 pm, bterkuile wrote: > I am now trying macvim and something is not working anymore. A normal > operation for me is to select text and do a search and replace on > this. My actions for this are: > 1. Select text > 2. type:     :s/foo/bar/g (Or any of all the other options that make

Re: Manipulate selected text

2011-09-29 Thread Kyle Lippincott
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

Re: Manipulate selected text

2011-09-29 Thread David Turetsky
See if inserting a % as in :%s does the trick. Otherwise I believe the operation will only be confined to the current line -- David On Sep 29, 2011, at 10:07 AM, bterkuile wrote: > Hi there, > > I am now trying macvim and something is not working anymore. A normal > operation for me is to sel

Manipulate selected text

2011-09-29 Thread bterkuile
Hi there, I am now trying macvim and something is not working anymore. A normal operation for me is to select text and do a search and replace on this. My actions for this are: 1. Select text 2. type: :s/foo/bar/g (Or any of all the other options that make vim cool) In macvim however when I w