this post was submitted on 29 Oct 2025
142 points (95.5% liked)

Linux

59379 readers
824 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

In all GUI text editors, web browsers and IDE's you can move a cursor:

  • left/right arrows - move by char;
  • ctrl+left/right - move by word;
  • home/end - move to start/end of line.

Add Shift to any of above combination and everything you jumped through now is selected and you can: Ctrl+C, Ctrl+X,Delete to copy/cut/delete selection.

Also, you can Ctrl+Delete and Ctrl+Backspace to delete a next/previous word.

Also, you can Ctrl+Home/End to jump to start of first line or end of last line.

I want this to work when I type in a command in my Terminal.

Is it possible in Linux? It's a vanilla experience in Windows+Powershell, thanks to default PSReadlLine extension. It works both in conhost.exe and in Windows Terminal, but doesn't work in WT + cmd.exe, which makes me think it's PSReadLine which is responsible for this technological perfection.

"But you can't copy with Ctrl+C, it's..." - You can. When something is selected It copies selection to clipboard, otherwise it sends SIGINT.

I'm not bound to any distro or terminal application, but right now I don't see these incredible text editing techniques working even in Ubuntu+Powershell+PSReadLine, to say nothing about the Bash. I've tried installing WezTerm, but it doesn't have text selection either, at least by default. And I'm inclined to think it has nothing to do with terminal emulators at all, since it works in conhost.exe+Powershell.

you are viewing a single comment's thread
view the rest of the comments
[–] Alaknar@sopuli.xyz 2 points 6 days ago

The CMD “terminal” in Windows, for instance, don’t behave anywhere close to the rest of the system with regard to cp/paste

Do I need to record a screencap from conhost.exe for you to believe me when I say you're wrong?

tab completion, etc.

Where did that come from? I never said anything about tab completion or "etc". I was talking specifically about Ctrl/Shift combinations with arrows/backspace/home/end, and such.

Terminals are used for more than installing packages and editing files. If I login to the old solaris boxes at work via serial console and all the key bindings are fucked, I’m not getting the job done. I and most of my contemporaries rely on the way VT 100 terminal emulators work, which is why we can’t use kitty, alacrity, etc.

Did you even read what I wrote? I said that there should be an option to switch between "modern" and "classic" keybinds. With the default being set to "classic" everywhere, how exactly would that cause any problems for you?

If you want that “consistency”, use one of those terminal emulators that allows these behaviours.

Mate, are you high? That's what the OP is asking for. Do you know any such terminal emulators? Post some names!