Linux:將Windows密鑰映射到M-x以便使用emacs

[英]Linux: Mapping Windows key to M-x for the purpose of emacs usage


I am an emacs user (on linux laptop) looking to make better use of my keyboard settings. The windows key is unused on my keyboard... is there any way to map it to m-x? This might make many emacs commands faster.

我是一個emacs用戶(在linux筆記本電腦上),希望更好地利用我的鍵盤設置。我的鍵盤上沒有使用Windows鍵...有沒有辦法將它映射到m-x?這可能會使許多emacs命令更快。

Thanks,

SetJmp

2 个解决方案

#1


3  

Use xmodmap to make it the Menu key, as in

使用xmodmap使其成為菜單鍵,如

keycode 115 = Menu

You will have to use xev to find out if the Windows key is key 115 on your keyboard.

您必須使用xev來確定Windows鍵是否是鍵盤上的鍵115。

#2


1  

Just to provide a little more info, here's a link to a quick series of steps to remap the CapsLock Key in both X and Virtual Consoles:

只是為了提供更多信息,這里是一個快速系列步驟的鏈接,用於重新映射X和虛擬控制台中的CapsLock密鑰:

The steps can be identically followed for Windows key or whatever else you may wish to remap.

對於Windows密鑰或您可能希望重新映射的任何其他內容,可以遵循相同的步驟。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2009/03/24/7255ecd85ab65cc02f8c064f91bc59de.html



 
粤ICP备14056181号  © 2014-2021 ITdaan.com