Re: How to bind keys in emacs?



* "zelzel.zsu@xxxxxxxxx" <zelzel.zsu@xxxxxxxxx> wrote:

> I want to bind some functions to F5, F6 keys.
> I want to use F5 keys to serve as C-x C-s [save buffer].

(global-set-key [f5] 'save-buffer)

> and use F5 keys to serve as C-z [suspend].

I suppose you meant F6 here: (global-set-key [f6] 'suspend-emacs)

HTH
.



Relevant Pages

  • How to bind keys in emacs?
    ... I am new to emacs. ... I want to bind some functions to F5, F6 keys. ... Prev by Date: ...
    (comp.emacs)
  • How to bind keys in emacs?
    ... I am new to emacs. ... I want to bind some functions to F5, F6 keys. ... Prev by Date: ...
    (comp.editors)
  • Re: strange question about DropDownList
    ... different data in you SQL Server database than you had in the Access ... HTH, ... > when i used code below and bind with access i could get the resoult what ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • -k bindings for Gnome - gconf-editor to the rescue. (Re: Key bindings)
    ... Now i'm trying to bind "Lock screen" to LeftWinkey + ... I wanted to bind keys modified with ... Shortcuts dialog doesn't work right. ... In the Sawfish window manager, ...
    (Ubuntu)
  • Re: create properties at runtime?
    ... You end up having to continue to reflect to late bind. ... Simply holding keys in memory, as a DataSet for example, ... route, consider simpler methods before heading that route. ... Because I want to use one single class with several xml files, ...
    (microsoft.public.dotnet.framework)