6 ms·
I want this badly on gnome-terminal. If anyone has this type if thing on a linux plz. advise.
by 1998v2 6y ago
I want this badly on gnome-terminal. If anyone has this type if thing on a linux plz. advise.
- jchook 6y agoI agree, but also can recommend a few good shortcuts... <c-a> = go to beginning of line <c-e> = go to end of line !! = repeat last command <esc> b = move "back" one word (also <c-b> and <c-left>) <esc> f = move "forward" one word (also <c-f> and <c-right>) Many others exist. See `man bash` under READLINE.
- dylan604 6y ago!cmd = repeat last usage of that command !!enter which is 3 buttons where as up-arrow enter is the same thing.
- Something1234 6y ago!! is more useful than you think. It's substitute last command here, not just up-arrow enter. See sudo !!.
- rtpg 6y agoBy the way, recently discovered you can get some of these shortcuts in all input boxes by activating “emacs shortcuts” inside of gnome-tweaks! Was one of the final blockers for getting me from Mac to Linux
- chrisweekly 6y agoYes! I use c-u to clear the line all the time.
- neetfreek 6y agoAnd <c-w> clears the previous word :) Also <c-y> pastes the line/word back in (so you cant think of it like cut-copy).
- Too 6y agoYou can also use the more standard Home/End/Ctrl+Left/Ctrl+Right to do all of the above. Much easier to remember and works in any other editor also.
- Kaiyou 6y agoShift+click works for me.