You can use the mouse to navigate a file as you might expect in other graphical text editors. If you have unsaved changes, you will be asked whether or not you'd like to save your changes before quitting. Ctl-x Ctl-w lets you save the file under a different name (like "Save As" in graphical editors).Ĭtl-x Ctl-c quits Emacs. to copy-paste between them) by specifying multiple filenames when you open emacs: emacs file1.c file2.cĬtl-x Ctl-s save the current changes to a file. You can open multiple files in emacs side-by-side (e.g. Again, if this file exists in your current directory it will open it, or it will create it if it does not already exist in your current directory. If emacs is already open and you would like to edit a different file, use the Ctl-x Ctl-f command. To open a file in emacs (or create a new one if a file with this name does not exist): emacs filename Otherwise, some of the keyboard shortcuts below will not work! Opening emacs This will ensure that your Meta key is properly set to be Option (Mac) or Alt (Windows).
EMACS EDITOR FOR WINDOWS WINDOWS
The two keys it uses for these shortcuts are Control and Meta (which is Alt, or Option on a Mac).īefore continuing: if you're using a Mac, or a Windows computer with SecureCRT, make sure you have followed the instructions to configure your Meta key, as described in the installation guide. OverviewĮmacs works similarly to other editors you might have used it lets you enter and edit text, and has certain keyboard shortcuts to perform common commands. Open a new file in emacs to see what the theme looks like. Finally, move your cursor to Save Theme Settings and hit ENTER to save. Once there, pick a theme by moving your cursor onto a theme and hitting ENTER.
This will take you to a page where you can choose your own theme. If you don't like the theme chosen in our configuration, open any file in emacs, and then type M-x customize-themes ( M means the "Meta" key, which is discussed later on). If you're interested, you can further customize the default color theme. This guide can get you up and running with emacs! Bonus: Custom Themes
Written by Michael Chang, Chris Gregg and Julie Zelenski, with modifications by Wesley Rodriguez and Nick TroccoliĮmacs is a family of text editors, including GNU Emacs, which is the most popular version, and the one on the myth machines.