Re: gvim or vim in console...

2011-09-13 Thread Jacky Liu
On Sep 11, 12:39 pm, Kevin Tough ke...@toughlife.org wrote: I am just starting to learn vim. I use Fedora and would like to know whether most programmers use vim from the console or do they/you use gvim. I have read that using one instance of vim is the best usage. ViEmu: would any of the

Go back to variable after gd

2011-09-13 Thread Dotan Cohen
I just discovered the terrific gd command. What a gem that is! After using the gd command, is there a way to jump back to the place where I was without setting a bookmark? Sort of like Ctrl-Shift-G in Eclipse? Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You

Re: Go back to variable after gd

2011-09-13 Thread Tim Chase
On 09/13/11 05:55, Dotan Cohen wrote: I just discovered the terrific gd command. What a gem that is! After using the gd command, is there a way to jump back to the place where I was without setting a bookmark? Sort of like Ctrl-Shift-G in Eclipse? You should be able to use control+O (oh, not

Re: Go back to variable after gd

2011-09-13 Thread Dotan Cohen
On Tue, Sep 13, 2011 at 14:07, Tim Chase v...@tim.thechases.com wrote: You should be able to use control+O (oh, not zero in case your font doesn't distinguish them) to navigate back in the jump-list  :help CTRL-O  :help jumplist Thank you Tim! Without knowing the word jumplist, this was one

Re: yank inner word

2011-09-13 Thread Tim Chase
On 09/12/11 14:39, Taylor Hedberg wrote: Tim Chase, Mon 2011-09-12 @ 14:15:33-0500: Maybe if I suggest it here, somebody will code my other text-object want too: an inner-indent for coding in Python. There's already a plugin for that! I use it regularly.

Re: q: , filetype and back to edit

2011-09-13 Thread Joachim Hofmann
Thank You. I had wrong file patterns in the autocommand, an now I am using only BufEnter. Now it works. Older vim versions had no plugin feature, that is why this approach is oldfashioned. Your are right I should remodel the script. Joachim - -- You received this message from the vim_use

:hardcopy

2011-09-13 Thread cyboman
i need to print some stuff from vim and i always used the hardcopy command for this. it always worked for me, but for some reason when i do it now instead of keywords (typedef, union, uint8 etc) i see big black rectangle covering them. does anybody know what happened and how to fix it? any help

Re: Go back to variable after gd

2011-09-13 Thread Karol Samborski
You can try with ctrl-o Best Regards, Karol Samborski 2011/9/13 Dotan Cohen dotanco...@gmail.com: I just discovered the terrific gd command. What a gem that is! After using the gd command, is there a way to jump back to the place where I was without setting a bookmark? Sort of like

Re: Representing carriage returns in a register

2011-09-13 Thread Ben Fritz
On Sep 13, 5:15 am, Drew Neil andrew.jr.n...@gmail.com wrote: Suppose I run ayip to yank the following lines into register 'a':     one     two     three When I use the `:reg a` command to inspect the contents of the register, it shows newlines as ^J, like this:     --- Registers ---  

Re: Representing carriage returns in a register

2011-09-13 Thread Ben Fritz
On Sep 13, 1:48 pm, Ben Fritz fritzophre...@gmail.com wrote: On Sep 13, 5:15 am, Drew Neil andrew.jr.n...@gmail.com wrote: Suppose I run ayip to yank the following lines into register 'a':     one     two     three When I use the `:reg a` command to inspect the contents of the

RE: Representing carriage returns in a register

2011-09-13 Thread Steve Hall
From: Benjamin R. Haskell, Tue, September 13, 2011 3:06 pm ^M == \r CR carriage return ^J == \n LF line feed Slightly off-topic here, but it is a shame differences between CR and LF can't be managed via listchars. A few sensible defaults sure would clear up all the ^M confusion. -- Steve

Re: Go back to variable after gd

2011-09-13 Thread Dotan Cohen
On Tue, Sep 13, 2011 at 14:01, Karol Samborski edv.ka...@gmail.com wrote: You can try with ctrl-o Thanks, Karol! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

recolor the extra gray pixels around fullscreen gvim.

2011-09-13 Thread Shay
Looks like gvim maximizes to the greatest number of full lines and columns? The rest of the screen is filled with pale gray. Can I recolor the filled area? Changing my gtk theme doesn't seem to help. -- View this message in context:

Re: recolor the extra gray pixels around fullscreen gvim.

2011-09-13 Thread Tony Mechelynck
On 14/09/11 02:01, Shay wrote: Looks like gvim maximizes to the greatest number of full lines and columns? The rest of the screen is filled with pale gray. Can I recolor the filled area? Changing my gtk theme doesn't seem to help. If your GTK or KDE (or Windows or Mac) theme doesn't help,

Re: recolor the extra gray pixels around fullscreen gvim.

2011-09-13 Thread Shay
Apologies. I was mistaken. Gtk /does/ change the color of the edge. Gvim requires a restart; This threw me. The gtk attribute is bg[NORMAL] The fix is to add this to your theme's .gtkrc: # color the right and bottom edges of maximized gvim windows style gvim { bg[NORMAL] = #00 } widget

Re: recolor the extra gray pixels around fullscreen gvim.

2011-09-13 Thread Benjamin R. Haskell
On Tue, 13 Sep 2011, Shay wrote: Looks like gvim maximizes to the greatest number of full lines and columns? The rest of the screen is filled with pale gray. Can I recolor the filled area? Changing my gtk theme doesn't seem to help. I got this working using the following, fairly simple file:

Re: recolor the extra gray pixels around fullscreen gvim.

2011-09-13 Thread lith
$ strace -e trace=file gvim +q | grep themes/ | sed 1q access(/home/bhaskell/.themes/Raleigh/gtk-2.0/gtkrc, F_OK) = -1 ENOENT (No such file or directory) I use a custom theme based on Ambiance theme. When I run the above command (with | since strace prints the output on stderr) I get