Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:ide [2015/04/27 18:42] – [Key bindings] gkazhoyadoc:ide [2015/04/27 18:47] – [Key bindings] gkazhoya
Line 60: Line 60:
 ===== Useful Tips ===== ===== Useful Tips =====
  
-==== Key bindings ====+==== Definitions ====
  
-An Emacs buffer is the equivalent of window / tab in other editors. It can have a file associated with it that you can (or cannot depending on the privileges) edit, or it can be running a process (e.g. when you open the shell: ''M-x shell''). The minibuffer is usually a one-line part of the screen at the bottom of the Emacs window. The cursor in Emacs is called the point. Dired is the directory explorer mode of Emacs.+An Emacs //buffer// is the equivalent of window / tab in other editors. It can have a file associated with it that you can (or cannot depending on the privileges) edit, or it can be running a process (e.g. when you open the shell: ''M-x shell''). The //minibuffer// is usually a one-line part of the screen at the bottom of the Emacs window. The cursor in Emacs is called the //point////Dired// is the directory explorer mode of Emacs.
  
 Textual representation of Emacs key bindings has a number of conventions: Textual representation of Emacs key bindings has a number of conventions:
Line 71: Line 71:
   * ''C-h b'' means first press ''Ctrl'' and ''h'' together and then ''b'' separately (in contrast to ''C-h C-b'')   * ''C-h b'' means first press ''Ctrl'' and ''h'' together and then ''b'' separately (in contrast to ''C-h C-b'')
   * Commands like ''M-x shell'' mean: press ''Alt'' and ''x'' together and then type ''shell'' into the minibuffer on the bottom of the screen.   * Commands like ''M-x shell'' mean: press ''Alt'' and ''x'' together and then type ''shell'' into the minibuffer on the bottom of the screen.
 +==== Key bindings ====
  
 Taken from the Slime manual: Taken from the Slime manual:
Line 89: Line 90:
   * C-M-f (C-M-b): go forward (backward) one expression (in Lisp an S-expression)   * C-M-f (C-M-b): go forward (backward) one expression (in Lisp an S-expression)
   * C-M-\: indent region   * C-M-\: indent region
-  * M-; : comment out region (chooses correct commenting characters depending on file extension)+  * M-; : comment out region (chooses correct commenting characters depending on the extension of the file you're editing)
   * M-< (M- >): go to buffer beginning (or end)   * M-< (M- >): go to buffer beginning (or end)
   * M-%: find-replace   * M-%: find-replace