如何在Ubuntu Jaunty中分配换行功能以直接输入? [英] How to assign newline functionality in Ubuntu Jaunty to Enter directly?
本文介绍了如何在Ubuntu Jaunty中分配换行功能以直接输入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Ubuntu Jaunty中,Enter键显然已转换为Ctrl-m符号.我想从换行功能中释放Ctrl-m符号,使其可用于其他命令.在这种情况下,我想我应该直接将Enter转换为换行符.我该怎么办?
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?
我正在谈论gnome终端中的密钥重新分配.
I'm talking about key reassignment in gnome-terminal.
推荐答案
(global-set-key (kbd "<return>") 'newline)
这篇关于如何在Ubuntu Jaunty中分配换行功能以直接输入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文