简体   繁体   English

-nw模式下emacs中的Windows键

[英]windows key in emacs in -nw mode

I add the following line to my ~/.emacs 我将以下行添加到我的〜/ .emacs中

(global-set-key (kbd "") 'other-window) (global-set-key(kbd“”)'other-window)

It works on emacs GUI mode. 它适用于emacs GUI模式。 But if I open emacs in terminal (Ubuntu 10.04) with the option 但是如果我在终端(Ubuntu 10.04)中使用该选项打开emacs

-nw, then Win + Right just give right . -nw,然后按Win + Right给予权利 I tried many key 我尝试了很多钥匙

combinations with the windows key, it seems that windows key doesn't function in the 与Windows键组合使用,似乎Windows键在

terminal. 终奌站。 I guess that the default terminal in Ubuntu doesn't recognize teh Win 我猜想Ubuntu中的默认终端无法识别Win

key at all. 关键。 If I want to use Win key in the terminal, I have modify the source 如果要在终端中使用Win键,请修改源

code of termianl. 终端代码。 Is this right? 这是正确的吗?

The win key under ubuntu becomes the modifier Super, I don't think that the terminal recognizes this as a key modifier. ubuntu下的获胜键成为修饰符Super,我不认为终端将其识别为键修饰符。 You could switch the windows key to something else or just use ctrl or meta keys. 您可以将Windows键切换为其他键,也可以仅使用ctrl或meta键。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM