Friday, February 3, 2017

【Ubuntu】「右 Commandキー」(Super_R)を「Escape キー」にした

「SandS」のために
=========================================================
(1) ~/.Xmodmap
!「space キー」を「shift キー」にした。「SandS」がしたかったので、でも、今は諸事情により SKK を使っていない。(← )
keycode 255 = space
keycode 65 = Shift_L

(1') ~/.bashrc
※ ただし、「SandS」実現のために、以下の設定を「~/.bashrc」に書いている。(「~/.Xmodmap」の記述とセットということ)
killall xcape
~/opt/xcape/xcape -e '#65=space'
=========================================================



「Vim で、"右 Commandキー"を、"Escape キー"として使う」ために
=========================================================
(2) ~/.Xmodmap
!「右 Commandキー」(Super_R)を「Escape キー」にした
!remove mod4 = Super_R
clear mod4

keycode 134 = Escape

add mod4 = Super_L Super_L Hyper_L
=========================================================

No comments:

Post a Comment