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

  • schnokobaer@feddit.de
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    10 months ago

    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…

    • DefederateLemmyMl@feddit.nl
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      10 months ago

      “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.

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      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.