Difference between revisions of "Key Bindings"

From WikEmacs
Jump to navigation Jump to search
(Change keybindings)
Line 6: Line 6:
  
 
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 <tt>M-x global-set-key</tt> and <tt>M-x local-set-key</tt>, or persistently using simple [[Emacs Lisp]] code in your <tt>init.el</tt> or <tt>.emacs</tt> file 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 <tt>M-x global-set-key</tt> and <tt>M-x local-set-key</tt>, or persistently using simple [[Emacs Lisp]] code in your <tt>init.el</tt> or <tt>.emacs</tt> file which is loaded when Emacs first starts up.
 +
 +
[[Category:Tweak Key Bindings]]

Revision as of 05:39, 27 March 2012

Emacs ships with a bunch of Cheatsheets or Reference Cards for popular packages. These are located in the refcards/ subdirectory of data-directory.

Third-party reference cards exist:

  • TBC

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 init.el or .emacs file which is loaded when Emacs first starts up.