this post was submitted on 08 Sep 2023
129 points (98.5% liked)

Linux

45530 readers
1323 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 5 years ago
MODERATORS
 

I'm reconsidering my terminal emulator and was curious what everyone was using.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 10 months ago* (last edited 10 months ago) (4 children)

While y'all here:

is there a terminal emulator that has "modern" text entry controls while still having tab completion? Like selecting text by going shift+leftarrow or deleting whole words by holding ctrl+backspace/del or replacing whole words that are selected while pasting text rather than it pasting at the point where the curser is at the start of selected text so you still have to manually delete the original characters. Maybe Undo, redo with ctrl (shift) z...

Stuff like that. Just wondering. I always find it very cumbersome to fiddle with long commands especially if they contain long paths that you want to modify. Lots of backspace and arrow-keys hitting for every single character..

[–] [email protected] 9 points 10 months ago* (last edited 10 months ago) (1 children)

“modern” text entry controls... Like selecting text by going shift+leftarrow or deleting whole words by holding ctrl+backspace/del ...

Those are not really features of the terminal emulator but of the shell. I don't think a terminal emulator can coerce bash or zsh or whatever to do those things unless it acts as some kind of proxy between your text editing buffer and the shell, which would probably lead to its own set of complications. The thing you want would have to be a combination of a GUI terminal program and its own shell.

For bash, I suggest you read up on readline keyboard shortcuts, which can do many of the text editing tricks that you are asking. The shortcuts are different than what you are used to on Windows, and there's no concept of "selecting" text, but for terminal applications it's pretty much the standard way text input is handled on Linux.

[–] [email protected] 1 points 9 months ago

I'd suggest checking out fish shell.

[–] [email protected] 6 points 10 months ago

I know that zsh has the option to use vim-like keybindings if you're familiar with those.

[–] [email protected] 4 points 10 months ago

Bash (and other shells) have readline support which sounds similar to what you want?

[–] [email protected] 2 points 10 months ago

I've only managed to come close to that using vs code terminal and PowerShell.

PowerShell is the only shel I've found for windows that allows text selection with keyboard. And since no one uses PowerShell on Linux, no Linux terminals have good support for it, except the vscode terminal.