I was learning Vim and now I’m experimenting with Emacs. In Vim, for instance, I could hide the toolbar by adding a “set” command in the _vimrc file.
How is the customization approach in Emacs, for instance, if I want to hide the toolbar?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Emacs is customised using scripts written in it’s own variant of the lisp programming language called
elisp.The usual way emacs power users make customisations is to write snippets that will achieve the desired effect and in a
.emacsfile situated in their home areas. This file gets loaded up when emacs starts (similar to the.vimrcfile for vim).Hiding the tool bar for example is accomplished using
In your .emacs
I’d recommend that you first go through the manual and then if you’re feeling curious the emacs lisp tutorial.
Alternatively, if you’re not comfortable editing elisp, you can use the inbuilt customisation system. You can launch it using
M-x customize RET(RETis “hit enter” in emacs speak andM-xis done by holding down (normally) thealtkey and hittingx).The customisation interface allows you to use select the features you want to enable disable (although the sheer number of these can get overwhelming) and ‘save’ the settings (which just writes out elisp code for the settings you selected into your .emacs file).