On Fri, 2003-11-14 at 11:07, Ryan Bowman wrote:
> Exactly my point.  However, I have actually started using vim, but only
> for cvs commit and only because emacs can take a long time to load, and
> waiting that long to write only one sentence seems like a waste.  
> Please don't tell anyone I use vim.  I should probably use the -m
> option and write the message on the command line.  Oh well, at least
> now I've used vim and can say by experiance that emacs is WAY better.

You can get tricky and still use emacs in a fast way to do this.  Just
leave emacs running all the time, and make sure you have this line in
your .emacs file:

(server-start)

Then you can set $EDITOR to be emacsclient in your .bash_profile (or
where-ever you do that sort of thing).  When you do a 'cvs commit' it
will run emacsclient which sends the text file to your already running
emacs (quickly!).  Type away, hit 'c-x #' when you are done.

You can just try this from the command line with any text file too:
emacsclient file.txt

After a while you might simply alias vi to be emacsclient :)

Bryan


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to