On Thu, 2007-07-05 at 20:15 -0700, Joseph Loo wrote:
Zhang Weiwu wrote:
Dear list
I had been developing by open xterm, maximize it, run vim in it. The benefit is it happen to be more than 160 columns wide, allow me to split vertically to edit two related programs each at 80-column width.
It has 3 problems: I. sometimes vim in xterm stop responding suddenly, and never coming back, reason unknown; II. my color schema doesn't work because xterm support limited number of colors III. I prefer gvim for its menu.
I'd like to select a small font for gvim so that I can maximize vim window and use two 80-column window inside of it without xterm. That way I need a font at 6 pixel wide. I cannot found such a font. in xfontsel I select 6 for pxlsz and only two fonts are available: "clean" and "fixed", both are two small to be readable at 6 pixel (then what font xterm is using that is readable even at 6 pixel??) and both are not selectable in gvim's choose font dialog.
Can someone recommend me a 6-pixel-wide readable font (like the one used by default in xterm) and usable in gvim? Thanks in advance!
P.S. maybe the best solution is to run at 1280 px wide screen with 8-pixel font, which is 160 column wide, but yet what I need is 161 column wide because there is one column used as separator:(
Have you looked at gvim, the x11 version of vi?
Here is the screenshot having run the x11 version of vi with really small readable font (in this case I used the commonly-found font "fixed"). It happen to be 81-column wide for left and right column. $ gvim -fn -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1 gopher://sdf.lonestar.org/I/users/weiwu/gvim_two_columns.png If you are young and can read it, it's probably good to use it for development. With a 1280-pixel wide screen vim should be able to present two 80-column window with more readable font.
-- Joseph Loo jloo@acm.org
-- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org