I'm very used to emacs-like ctrl+a to mean "home," and cmd+a to mean "select all." Similarly ctrl+e is "end", ctrl+d is "delete", ctrl+c does what I expect in Terminal, and probably a few more requisites I don't have on hand.
Of course Ubuntu is a little different. The ctrl key is functionally most paired with the cmd key, even though in physical keyboard layout the cmd key will bind to super.
So my first step was simply swapping cmd and ctrl by editing xkb since that restores 70% of the functionality I'm missing.
That mostly leaves begin/end/delete and related Mac-"control" functionality, but I don't know a good way to split the functionality or move some super obscure key over to ctrl to achieve this. I'm trying to find a cohesive strategy in general, but hacks are a step.
Ubuntu 14.04.
ctrl + candcmd + cin terminal ? It's my main problem, the first should "cancel" the current line, and the second should copy. – chalasr Jan 01 '16 at 12:46cat-- now, everything you type is returned to you. Typectrl + candcmd + cto see how how readline recognizes them."c":can be replaced whatever the output brings out, and you can assignvi-yank-toto that sequence of characters. – Anon Jan 04 '16 at 10:32cat --and hit <Ctrl+C> the process is killed. If I map the shortcut to another action (Guake), it will return^Cfor <Ctrl+C> and same for <Cmd+C>. How can I interpret my CMD key, which is mapped to LEFT_CTRL same as my CTRL key, as a different key ? On OSX, Ctrl is used for all actions related to terminal, same as Linux, and Command is used for copy/paste and other actions related to the application like close a tab, quit terminal ... How can I reproduce this logic ? I'm not using vim-mode, but if it can help me to solve this problem, I can use it. – chalasr Jan 05 '16 at 14:05