Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Desktop - Ubuntu, Server - Debian, CentOS
Posts: 72
Rep:
Which editor?
Hi,
I'm fairly new and I've been through the vim and emacs tutorials. I now need to start investing time in really learning one of these editors. Which is best? What are the pros and cons of each?
Should I choose either of those or go for something different like pico/nano?
If you're fairly new to linux editors, use pico for editing configuration files you might tweak as it is very straightforward, and on the regular basis like reading the howtos downloaded from web in txt format or others use vi or emacs, emacs is more powerfull though. Keep learning advanced editors and eventually you'll switch to them, and all this pico type and save will be like a kindergarden alphabet experience.
I prefer emacs, its powerful, configurable, can deal with email and nntp, has the fantastic jde-mode and is doesn't use that weird mode switching thing that vi users seem to like.
personally i can't use either at all, i insist on using pico cos i'm lame and don't want to have to learn a load of annoying escape routines when pico is so amazingly easy to use.
Somebody's going to have to stand up for Vim here. Personally, I enjoy the way it allows me to edit and create files without moving my hands one bit from their natural keyboard positions. It's a de facto standard on Linux systems, so if you learn how to use it you'll be able to apply that to almost any system.
i use vi, but i never recommend it to anyone new. once you get used to it, it's probably the best editor, but it's tailor-made from programmers and the like, not for ease-of-use. pico's probably the best command-line editor for newbs.
i've used emacs through most of my linux history. but i've recently been using joe in slack quite a bit. it's much more lightweight than emacs, and i hate how with emacs whenever you save a file it backs up the previous version of that file with a ~ at the end (i know i can disable this, but i'm lazy).
most editors will function the same though, in terms of editing text files.
Distribution: DEBIAN! - (also used: Red Hat, Mandrake, Slackware, SuSE, BestLinux, EasyLinux, muLinux...)
Posts: 92
Rep:
I very often use vim, *never* installed emacs on my box because there's really no need, but I would recommend "mcedit": it's very easy and has syntax highlighting (at least bash for scripts... I'm not a programmer), perfect for a newbie.
If you're familiar with Microsoft's 'Edit' (possibly the best program they've ever written) then you'll find JED to be a piece of piss to use.
Quote:
I enjoy the way it allows me to edit and create files without moving my hands one bit from their natural keyboard positions
Erm, how exactly do others force you to move your hands away from the keyboard? (I've never actually used anything other than JED) Certainly JED (blatant plug there) will allow you to use the mouse to get to menu options, but you don't have to
personally i can't use either at all, i insist on using pico cos i'm lame and don't want to have to learn a load of annoying escape routines when pico is so amazingly easy to use.
Same here, i cant stand that either. I just use the simplist of editors without X and when x is running i just use kde's advanced editor or Kate (or XeD).
I don't mean to be rude to anyone here who uses Vi(m), but ever since I started using Linux, the love affair between Linux users and Vi(m) has been quite apparent. Why? What makes Vi(m) so good over others?
Originally posted by Thymox I don't mean to be rude to anyone here who uses Vi(m), but ever since I started using Linux, the love affair between Linux users and Vi(m) has been quite apparent. Why? What makes Vi(m) so good over others?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.