xmodmap -e 'remove Lock = Caps_Lock'
xmodmap -e 'keycode 0x42 = Find'
Then I map the key to the keyword completion command in Emacs like this. The second command is needed for Emacs in a terminal window:
(global-set-key [find] 'dabbrev-expand)
(global-set-key "\M-[1~" 'dabbrev-expand)
No comments:
Post a Comment