Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Just like others in the thread, I learned it first and it would be quite a bit of brain re-wiring to switch to vi. I like lisp and I frequently want to add formatting rules or commands. For example, if I press f5 twice it inserts:
cout << "debug point 0" << endl;
cout << "debug point 1" << endl;
I don't know if you can do that sort of thing in the vi family. I use the nox version with some basic mouse support and xsel stuff enabled.
I also keep a collection of sed commands handy for refactoring, and I basically have an IDE where I don't have to constantly move from file to file and expand classes, etc., to get to the code I want.
Just like others in the thread, I learned it first and it would be quite a bit of brain re-wiring to switch to vi. I like lisp and I frequently want to add formatting rules or commands. For example, if I press f5 twice it inserts:
cout << "debug point 0" << endl;
cout << "debug point 1" << endl;
I don't know if you can do that sort of thing in the vi family. I use the nox version with some basic mouse support and xsel stuff enabled.
I also keep a collection of sed commands handy for refactoring, and I basically have an IDE where I don't have to constantly move from file to file and expand classes, etc., to get to the code I want.
I've actually just decided to learn emacs on a lark. Coming from years of vim, lol. How foolish an idea is this?
Also, some of the commands you'll probably use the most:
Code:
ctrl+x 0 Close all but one frame. That's a zero, not a capital o.
ctrl+x+f Open file in new buffer
ctrl+x right arrow Next buffer
ctrl+x left arrow Last buffer
ctrl+x b Type buffer (use tab to auto complete)
ctrl+s Search forward for string
ctrl+r Search backwards for string
ctrl+g Quit whatever command you're doing
ctrl+w Cut
alt+w Copy
ctrl+y Paste
ctrl+space Start selecting (note that you can turn on basic mouse support, even in the nox version, to select that way)
I've actually just decided to learn emacs on a lark. Coming from years of vim, lol. How foolish an idea is this?
Any tips for an absolute beginner to emacs?
Great video tutorials on emacs here on youtube. I have been following along on them and have learned a good bit. It also has a great built in tutorial as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.