Introducing Cobra
David Brown
kplug at davidb.org
Sun Jan 6 13:51:55 PST 2008
On Sun, Jan 06, 2008 at 01:29:35PM -0800, Ralph Shumaker wrote:
>> What you want is called a programming font.
>> http://keithdevens.com/wiki/ProgrammerFonts
What's sad is that I find all of them very hard to read. I guess there
must still be people that think non-antialiased fonts are readable (or had
experience with bad anti-aliasing algorithms).
I've been using DejaVu Mono for programming. It's 0 and O, l and 1 are
quite distinct.
When I was younger, I could handle much smaller fonts. It's either that,
or just that monitors have gotten a lot higher in resolution.
> In some situations, I would even like to see something visual for
> end-of-line (particularly in vim and cat). This is not that big of an
> issue tho because I can use reg ex " $" or " $". But it would still be
> nice to see it visually.
'cat' has numerous options to show tabs, and end of line markers.
In vim, setting 'list' mode (:set list) enables showing some non-printing
characters. You can set what with 'set listchars ...'. Some useful
options:
:set listchars=tab:>-
shows tabs as a '>' followed by hyphens.
If you're setup for Unicode, you can make it look even nicer, e.g.:
:set listchars=tab:‣·
(those last to characters are a small right triangle and a small
middle-dot. You type the first in vim as ^Vu2023 and the dot as ^Vu00b7).
Setting eol to unicode 2424 uses the little N/L character, which is clear
looking, but rather overly-visible. It also has 'trail' to show trailing
spaces.
Dave
More information about the KPLUG-LPSG
mailing list