Re: embedable vim?

2007-05-16 Thread Greg Novack
Thus spake Franco Saliola [05/16/07 @ 21.26.10 -0400]:
> Is there a way to embed vim into my browser (or any other application
> for that matter)?
> 
> I hate typing in the html text boxes and would much prefer to use vim
> to edit my email.
> 
> Or are there any suggestions on reading/writing email using Gmail and Vim?
> 
> I'll create a tip if I figure out a good method.
> 

Well, if you have MacOSX Tiger, there's a freeware utility called Vi Input 
Manager: http://www.macupdate.com/info.php/id/22864/vi-input-manager

This lets you call a decent subset of vim in any text field in any Cocoa 
application, which inlcudes Safari and Camino (the latter is Mac-ified Firefox, 
in a manner of speaking).  So long as you use a Cocoa-based browser to check 
Gmail, you should be able to do the most useful vimmaneuvers on your email.

I have no idea if there are utilities like this for other platforms.

-Greg


Re: Identify this Vim font for me, please

2007-05-16 Thread Greg Novack
Thus spake madiyaan [05/16/07 @ 00.41.45 -0700]:
> 
> Hello,
> 
> This isn't very related to Vim, but I found this font on Vim's wikipedia
> webpage:
> 
> http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29-console.png
> 
> Can anyone identify this font for me? It looks very good for programming.
> 
> Thank you very much,
> -- 

It sure looks to me like the Linux console, before one logs into Xwindows.  At 
least, that's definitely the font that Yellowdog Linux uses.  It also pretty 
clearly does not match the two suggestions at the bottom of the Wikipedia page. 
 Just look at "p", "f", and "d".

HTH,
G


Re: disappearing color

2007-03-27 Thread Greg Novack
Thus spake Jason Keen [03/27/07 @ 16.10.46 -0400]:
> On 3/27/07, Greg Novack <[EMAIL PROTECTED]> wrote:
> >Vim Aficionados,
> >
> >I run console vim.  My normal colorscheme, as set in the .vimrc, is 
> >`Default' with backround set to dark.  This has always had the consequence 
> >that the line at the bottom of the screen that says `--INSERT--' whenever 
> >I'm in that mode is displayed in magenta.
> >
> >Last night, this changed to display in white.  I did not mess with the 
> >terminal emulator's colors.  I *did* begin playing around with commands 
> >that change the syntax coloring while I'm in the middle of a document, 
> >e.g.,
> >
> >:hi LineNr ctermfg=green
> >
> >But my understanding was that such "live" commands are temporary; when I 
> >exited vim, they are lost, and a restart of vim would bring the usual 
> >colors I named in the .vimrc.  So I'm wondering (a) what happened to my 
> >purple mode notice?, and (b) did whatever happened to it happen because of 
> >my piecemeal coloring commands?
> >
> >Many thanks,
> >
> >GMN
> >
> I tried to replicate this, but when I set my colorscheme to default,
> it had white text in the status line.  Seems like a weird situation,
> and smells like it is environment-specific.
> Good luck!

Ye Gods, I've found out where I got fooled.  The magenta did indeed come from 
my terminal, as I'd assigned any bold text to magenta.  Because the 
---INSERT--- is bold and was therefore always a different color (magenta) from 
the body text of my docs (white), I thought that

:hi normal ctermfg=white

would not apply to the ---INSERT---.  Lo and behold, I had exactly that command 
in my .vimrc.  I thought it couldn't possibly be the culprit, hence my post.  
Doh!  

Many thanks, from a semi-newbie.

GMN


disappearing color

2007-03-27 Thread Greg Novack
Vim Aficionados,

I run console vim.  My normal colorscheme, as set in the .vimrc, is `Default' 
with backround set to dark.  This has always had the consequence that the line 
at the bottom of the screen that says `--INSERT--' whenever I'm in that mode is 
displayed in magenta.

Last night, this changed to display in white.  I did not mess with the terminal 
emulator's colors.  I *did* begin playing around with commands that change the 
syntax coloring while I'm in the middle of a document, e.g.,

:hi LineNr ctermfg=green

But my understanding was that such "live" commands are temporary; when I exited 
vim, they are lost, and a restart of vim would bring the usual colors I named 
in the .vimrc.  So I'm wondering (a) what happened to my purple mode notice?, 
and (b) did whatever happened to it happen because of my piecemeal coloring 
commands?

Many thanks,

GMN