开发者

How to assign newline functionality in Ubuntu Jaunty to Enter directly?

开发者 https://www.devze.com 2022-12-20 13:55 出处:网络
In Ubuntu Jaunty the Enter key is apparently translated to Ctrl-m symbol. I\'d like to free Ctrl-m symbol from newline functionality to make it available for other commands. In this case I guess I sho

In Ubuntu Jaunty the Enter key is apparently translated to Ctrl-m symbol. I'd like to free Ctrl-m symbol from newline functionality to make it available for other commands. In this case I guess I should translate Enter to newline directly. How do I do that?

I'm开发者_C百科 talking about key reassignment in gnome-terminal.


(global-set-key (kbd "<return>") 'newline)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号