all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How bind "Super" key *all by itself* to a function?
@ 2015-01-19  6:57 Chris Seberino
  2015-01-19  7:16 ` Yuri Khan
       [not found] ` <mailman.18124.1421651779.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Chris Seberino @ 2015-01-19  6:57 UTC (permalink / raw)
  To: help-gnu-emacs

I'm on a Linux machine and would like to bind
the "Super" key all by itself to a function of my choosing.

This works for Super + "b":

(global-set-key (kbd "s-b") 'backward-word) 
(Source: http://ergoemacs.org/emacs/emacs_hyper_super_keys.html)

However, how would you do something similar for ONLY the Super key
ALL BY ITSELF???

I tried (global-set-key (kbd "s") 'backward-word)
but then all I'm doing is rebinding the literal "s" which isn't my intention.

(I want to bind another function besides backward-word but that's just a
hypothetical example.)

(I asked a similar question on a list regarding the converting the Windows key to a meta key which led to special problems I'm hoping to avoid now by NOT trying to make Super a meta key.)


cs


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-19 15:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19  6:57 How bind "Super" key *all by itself* to a function? Chris Seberino
2015-01-19  7:16 ` Yuri Khan
     [not found] ` <mailman.18124.1421651779.1147.help-gnu-emacs@gnu.org>
2015-01-19  7:35   ` Rusi
2015-01-19  8:25     ` Yuri Khan
2015-01-19  9:08     ` Yuri Khan
     [not found]     ` <mailman.18131.1421658484.1147.help-gnu-emacs@gnu.org>
2015-01-19 13:54       ` Rusi
2015-01-19 14:33       ` Rusi
2015-01-19 15:32         ` Yuri Khan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.