If you want to undo a command that has already been carried out, then choose File > Undo, or type C-x u or ⌘Z (the usual Mac "cancel") as you would normally.This will cancel any command that you are in the middle of, and is particularly useful if you've typed a command by mistake. The most important command you need to know is C-g.To make sure that the alt key works properly in Aquamacs, go to the Option Key item on the Options menu, and select Standard Mac characters. For, say, M-u you type esc first and then the u key, not the two simultaneously.Īs you will see on the menus, the ⌘ key also retains much of its functionality in Aquamacs, so that for instance you can save files with ⌘S, just as usual. The Meta key is the esc key (usually top left on the keyboard). Many keyboard shortcuts involve sequences of commands, so that for instance C-c C-c means that you type Control-and-c twice. When you see a command such as C-g, this means that you should hold down the Control key and then press the g key simultaneously. On Macs the Control key is marked ctrl and is often found near the fn, alt and ⌘ (Apple/command) keys near the bottom of the keyboard. If you find your cursor there accidentally C-g will get you out of it with no harm done. The minibuffer is Emacs's name for the little window that appears at the bottom of a frame when you type a command and where, for instance, you type text that you want to find or replace. You'll see them written as, for instance, C-g or M-x. The Control and Meta keysĪlmost all Emacs keyboard shortcuts are combinations with the Control or Meta keys. But almost everything you will need can be found through the menus or is described on this page. Next to most menu items you will see the equivalent keyboard shortcut, and there are many hundreds more. But for more efficient working it is useful to learn as many keyboard shortcuts as possible. Menus and toolbars are comforting and intuitive, especially when you are first learning to use a new piece of software. You can add items to the toolbar, and remove them from it, by selecting and deselecting them from the Options > View > Toolbar Items menu item. There is also a toolbar at the top of each Emacs frame, with clickable icons for basic editing and file commands. Even on the File, Edit, Options, and Windows menus there are many items that you will never need, so do not worry if they seem mostly incomprehensible to you for now. You are unlikely to need anything in Tools, and the Help menu lists far too many different sorts of help to be useful for a beginner. A frame may have more than one tab, each containing a different buffer, in the same way that a web browser can several web pages open at once in different tabs.You may also be unfamiliar with the Aquamacs terms "directory" (folder) and "search" (find).Īpart from the ATF menu, the File, Edit, Options, and Windows menus will be most useful to you. A "buffer" is essentially a view of a document, which is displayed in one or more "frames" (windows). Much is where you would expect it, though Emacs terminology can seem rather strange to Mac users. When you first install Aquamacs, it is worth looking through the menus to locate the basic commands. Two different ways of typing transliteration characters are described on other pages. To ensure you have all the necessary transliteration and normalisation characters, we recommend that you install the DejaVu font and set it as the default. In that window, you can choose a font, size, colour, as you would normally, and save different combinations as favourites. In Aquamacs, you can open up (and close) a Fonts window with the command ⌘⇧T. This page aims to make working with Emacs as intuitive and Mac-like as possible. And it doesn't help that Aquamacs has its own little quirks. Here we give a short description of some features that we have found useful for editing and lemmatising ATF in Aquamacs (Emacs for Mac), apart from those provided by ATF Mode.Įmacs is a very powerful piece of software, but its documentation is dense, difficult to navigate, and usually assumes that you are working in Unix without a mouse.
0 Comments
Leave a Reply. |