

- #EMACS PAGE DOWN SHORTCUT HOW TO#
- #EMACS PAGE DOWN SHORTCUT MANUAL#
- #EMACS PAGE DOWN SHORTCUT CODE#
- #EMACS PAGE DOWN SHORTCUT PC#
If Emacs works fine with your configuration, check your ~/.emacs.d/init.el to see which code messed things up. You can find out whether it's a problem with Emacs or with your configuration by loading Emacs with emacs -Q, which skips your configuration. If you need help, StackOverflow and other Q&A resources may be useful.Īs you experiment with configuring Emacs, you may run into mistakes or errors. Start with small chunks instead of large ones, so you can test if things work the way you want them to. You can start by copying interesting snippets from other people's configuration files. Don't worry, you can get the hang of it even if you don't think of yourself as a programmer. If you want to reload your ~/.emacs.d/init.el without restarting, use M-x eval-buffer.Įmacs Lisp may look strange. They'll be loaded the next time you start Emacs. You can add those to the end of your ~/.emacs.d/init.el file. This code sets C-c l (that's Control-c l) to run org-store-link, C-c c to run org-capture, C-c a to run org-agenda, and C-c b to run org-iswitchb.
#EMACS PAGE DOWN SHORTCUT MANUAL#
For example, the Org manual includes the following lines: As you learn more about Emacs, you'll probably find Emacs Lisp snippets on web pages and in manuals. You can also call functions, set variables, and even override the way Emacs works.

What goes into your ~/.emacs.d/init.el file? If you open it now, you'll probably find the settings you saved using M-x customize. The new standard is to put configuration code in your ~/.emacs.d/init.el file, which you can create if it does not yet exist. This used to be a file called ~/.emacs in your home directory, and you'll still come across lots of pages that refer to a. That's where your Emacs configuration file comes in. The Customize interface lets you change lots of options, but not everything can be changed through Customize. You can also search for keywords using M-x customize-apropos. Not sure what to customize? You can learn about options by browsing through M-x customize or reading the manual ( Help > Read the Emacs Manual or M-x info-emacs-manual). If you make lots of changes, you can use the Apply and Save button to save all the changes on your current screen.

I like leaving case fold search on because it's more convenient for me. If you would like to change this so that lowercase only matches lowercase and uppercase matches only uppercase, you can toggle this variable. By default, case fold search is on, which means that searching for a lower-case “hello” will match an upper-case “HELLO” as well. For example, if you want to change the way Emacs handles case-sensitive search, you can use M-x customize-variable to set the case-fold-search variable. You can also jump straight to customizing a specific variable. When you're done, type q to close the screen. This will save your changes to ~/.emacs.d/init.el.
#EMACS PAGE DOWN SHORTCUT PC#
Remember, that's Alt-x if you're using a PC keyboard and Option-x if you're on a Mac. Explore the options by typing M-x customize. You can change tons of options through the built-in customization interface.
#EMACS PAGE DOWN SHORTCUT HOW TO#
This week, we're going to focus on learning how to tweak Emacs with M-x customize and by editing ~/.emacs.d/init.el. You can tweak it to do much more than you might expect from a text editor. Hello, I'm Sacha Chua, and this is an Emacs Basics video on customizing Emacs.
