Difference between revisions of "Key Bindings"
Jump to navigation
Jump to search
PhilHudson (talk | contribs) m |
PhilHudson (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | + | == Printable cheatsheet for popular modes == | |
− | + | The {{File|pdf}} files are located in the {{Directory|refcards}} subdirectory of {{Variable|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 {{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. | ||
[[Category:Tweak Key Bindings]] | [[Category:Tweak Key Bindings]] |
Revision as of 14:52, 29 March 2012
Printable cheatsheet for popular modes
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.