Difference between revisions of "Key Bindings"
Jump to navigation
Jump to search
PhilHudson (talk | contribs) |
(link to excellent blog post) |
||
Line 5: | Line 5: | ||
== Editing key bindings == | == Editing key bindings == | ||
You can add, remove and change key bindings for any command, either globally or locally to a mode, interactively (and only for the current session) via {{Command|global-set-key}} and {{Command|local-set-key}}, or persistently using simple [[Emacs Lisp]] code in your {{EmacsConfigFile}} which is loaded when Emacs first starts up. | You can add, remove and change key bindings for any command, either globally or locally to a mode, interactively (and only for the current session) via {{Command|global-set-key}} and {{Command|local-set-key}}, or persistently using simple [[Emacs Lisp]] code in your {{EmacsConfigFile}} which is loaded when Emacs first starts up. | ||
+ | |||
+ | == External Links == | ||
+ | |||
+ | * [http://www.masteringemacs.org/articles/2011/02/08/mastering-key-bindings-emacs/ Mastering Keybindings in Emacs] | ||
[[Category:Tweak Key Bindings]] | [[Category:Tweak Key Bindings]] |
Revision as of 16:03, 29 March 2012
Printable cheat sheet for popular modes
Emacs ships with cheat sheets of common and useful key bindings. The pdf files are located in the refcards/ subdirectory of data-directory.
Editing key bindings
You can add, remove and change key bindings for any command, either globally or locally to a mode, interactively (and only for the current session) via M-x global-set-key and M-x local-set-key, or persistently using simple Emacs Lisp code in your Emacs configuration file which is loaded when Emacs first starts up.