How to assign newline functionality in Ubuntu Jaunty to Enter directly?
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)
精彩评论