Emacs Power Usage
key maps:
In emacs we can bind key sequences, to any lisp function. (any interactive
lisp function)
In order to bind a key for the global context we use the lisp
command global-set-key.
for example:
(global-set-key "\C-cs" 'flyspell-mode)
Will bind the sequence Ctrl+C followed by 's to the command
flyspell-mode, which is an interatctive function which toggles
flyspell-mode (a rather nice spell checker).
sometimes we find ourselves accedently hitting key sequuences we
do not want to, it is sometimes a good idea to unbind them,
for example:
(global-unset-key "\C-xf")
will unbind Ctrl+x followed by 'f, which is normally bound
to set fill coloumn, which is much less usefull than open file
bound to "C-xC-f" which we all use much much more.
Meir Maor