Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Favorite Text Editor?

by alfie (Pilgrim)
on May 23, 2001 at 15:02 UTC ( [id://82510]=note: print w/replies, xml ) Need Help??


in reply to Favorite Text Editor?

For me it was definitely Vim - the Vi Improved. Well, I was in search for a good editor when Vim 5.0 has first met the light, and was really astonished by the syntax-highlighting features. And the more I used it and read within through the included online-help the more I loved it. I could quote most of the Why Vim? page here, but just let me quote my own reasons (for, that's what you are looking for :).
  • Multi Platform: I personally like to use the same editor on Windows, OS/2 and any Unix.
  • Definitely syntax highlighting: I've read once that emacs can't use embedded syntax (don't know if that's still true) - Vim can do that quite easy.
  • You can set options depending on the file you edit. Like different (auto)indenting on different files (like mails, code, ...) or even skeleton files when opening new files. This is really one of the features that I like most.
  • Vim has blockmode (rectangle copy/cut/paste/insert). I use it e.g. for commenting out a whole block (insert/delete # infront of a block).
  • Bookmarks are possible through the viminfo file
  • You can jump from subroutines through files and have open multiple files with multiple windows
  • Just found through google: ftpbrws.vim: A script that lets you edit a file through ftp
google is always a good point to start searching, and if you know what you are searching for you are most of the time quite directly there (like I did for the ftpbrws.vim script: "ftp edit vim" and it was the first link ;-)

Feel free to contact me if you have questions about vim :)
--
use signature; signature(" So long\nAlfie");

Replies are listed 'Best First'.
Re: Re: Favorite Text Editor?
by stefan k (Curate) on May 23, 2001 at 15:57 UTC
    Hi alfie,
    just a few remarks:

    Definitely syntax highlighting: I've read once that emacs can't use embedded syntax (don't know if that's still true) - Vim can do that quite easy.

    Although there is a mode which enables multiple major-modes per buffer this is one of the major FIXMEs in Emacs.

    You can set options depending on the file you edit. Like different (auto)indenting on different files (like mails, code, ...) or even skeleton files when opening new files. This is really one of the features that I like most.

    If I get you right that comes down to use this or that for perl files and this and that for C files etc. That is achieved with the major-mode concept in Emacs

    Vim has blockmode (rectangle copy/cut/paste/insert). I use it e.g. for commenting out a whole block (insert/delete # infront of a block).

    No problem: i got mark rectangle on M-Mouse1 and kill and paste on M-M2 and M-M3 ... :-) (and yes, it works with keys, too)

    Bookmarks are possible through the viminfo file

    Emacs has various ways for that: save-places is just automatic (open file, are at last position) recent-files (stores the N last visited files), desktop (see my post above), and I have read about bookmarks but have never used them

    A script that lets you edit a file through ftp

    Emacs' answer: EFS (does just that)

    Disclaimer:
    yeah OK, this is like showing off, I just wanted to state that these features are (mostly) available with emacs, too. I'm not trying to convert you! I'll never take part in the Holy Editor Wars. If vim is fine for you, use it.

    *grin*

    Regards... Stefan

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://82510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-23 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found