invoking yanked register into colon command

2007-03-31 Thread Guillaume Bog
Hi vimers, I getting used to many vim features but I still lack some skills, even after having read the user-manual. For example, I do often want to replace a name in the text with another. What I used to do is selecting it with mouse and type :%s/ctrl-ins/newname/gc Is there a way to do this

Re: invoking yanked register into colon command

2007-03-31 Thread Guillaume Bog
On 01/04/07, Georg Dahn [EMAIL PROTECTED] wrote: Hi! For example, I do often want to replace a name in the text with another. What I used to do is selecting it with mouse and type :%s/ctrl-ins/newname/gc Is there a way to do this with the mouse (and without retyping the name) ? What I

^M [Was] how to read the file created in PC in Linux correctly?

2007-02-15 Thread Guillaume Bog
On 15/02/07, frank wang [EMAIL PROTECTED] wrote: Thanks for the help. My gvim version is 7.0. The files are edited by Matlab editor. gvim cannot automatically handle the ^M. No matter what file format I set. The only thing to do is repleace them with %s/\r/\r/g. This ^M is hard to find in

Re: re-map up and down key behaviour

2007-02-10 Thread Guillaume Bog
On 10/02/07, Eric Leenman [EMAIL PROTECTED] wrote: Hi, Is it possible to remap the up and down key to behave a bit different. For example I have text like below : b123 : d456 : g789 And then I want everything after the : starting with xx_ When I then move the b, press i and

Re: re-map up and down key behaviour

2007-02-10 Thread Guillaume Bog
On 10/02/07, Georg Dahn [EMAIL PROTECTED] wrote: and using i instead of c didn't work. Maybe someone has a better solution. Just use I instead of i. Best wishes, Georg That's it, thanks a lot.

vim paste buffer

2007-02-08 Thread Guillaume Bog
Hi everbody, I'm new on this list. I use vim in a terminal on ubuntu everyday and still need some help for efficient use. If the file i'm editing is longer than one screen and I want to paste it somewhere else (say in a firefox textarea), I have to go out of vim, cat the file i'm editing, select