[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xmodmap keybinding for god-mode
From: |
Rusi |
Subject: |
Re: xmodmap keybinding for god-mode |
Date: |
Sat, 13 Dec 2014 23:43:06 -0800 (PST) |
User-agent: |
G2/1.0 |
On Saturday, December 13, 2014 12:35:24 AM UTC+5:30, Steven Arntson wrote:
> This question is more about xmodmap than god-mode, but ...
>
> I'm starting to use god-mode and really enjoying it. There are some
> directions on the maintainer's website about remapping esc to caps_lock,
> for easier toggling of the mode, by writing a .xmodmap file, viz:
>
> | remove Lock = Caps_Lock
> | keysym Caps_Lock = Escape
>
> I saved that to my ~/ and then from eshell I ran:
>
> | xmodmap .xmodmap
>
> And everything worked as it should. However, it doesn't keep working
> that way. The rebinding turns itself off if the computer goes to sleep
> for awhile, or if I restart. Is there a way to make that rebinding
> permanent? I'm running Ubuntu 14.04 and Emacs 24.4.1.
>
> Thank you!
> Steven
xmodmap is considered obsolete (or at least obsolescent)
setxkbmap is more current.
However more window-manager specific stuff is probably best
Does this help?
http://www.emacswiki.org/emacs/MovingTheCtrlKey