I wanted to have a separate laptop where I only use the terminal for my use cases. At the moment I am somewhat confident using the terminal, but I think limiting myself to tty only would build my confidence even more. Any tips?
EDIT: I am already using nvim and I already have installed a minimal distro (Arch). I just need advice on how to actually run this system effectively.
Over time your collection of aliases and scripts will grow to make common tasks you do easier.
Great list. Customizing the font is definitely a priority. I recommend one of the Terminus fonts. Also zellij multiplexer + helix editor is a great combo that works well in the tty.
One thing to add is that it took me a while to create a decent 16-color theme for helix and vim, and while they’re okay by default you can actually get a pretty nice looking IDE if you spend some time tinkering with the colors
+1 for the Terminus + zellij + helix combo
How does zellij do copy and paste? That’s the only thing keeping me from diving into tmux (beyond using it as a persistent terminal).
I’m not sure how to paste directly into a pane, but you can copy by opening up the scrollback in EDITOR from search mode using
Ctrl+S e
. This creates a file in /tmp so I try to make sure to clear it when I’m done.I usually only copy and paste between editor windows using a script that mimics xclip (automatically used by helix), and if I need to paste a command I either edit my bash history or write a script.
I disagree on the aliases. I’d recommend using almost none. It builds competence with the commands on all systems even without your special .bashrc. It’ll be easier to write scipts and change shells as well.
I use fish abbreviations. Unlike bash/zsh aliases, they expand when you press space or enter. This way you see the original command every time you use the alias, and you can edit as well. This should lighten the concern you have a bit. Your concern is something that sysadmins keep in mind e.g. default vim bindings so you are always comfortable on any server. However for desktop use I don’t think leaving the speed and comfort on table is worth it. Most desktop users only use their own systems anyway.
It’s about building muscle memory as well though. You are right that many home-gamers will probably never be without their customizations though. But if you do re-installs, setup VMs, try new distros, etc. it’s beneficial.
Just my opinion though.
That really depends on what you’re doing. It’s only really useful when you’re regularly SSH-ing into other machines for work. Otherwise you’re wasting time every day so that you might save a second once every few years.
Thanks a lot, I’ll definitely try the terminal multiplexers you’re talking about. I wondered how you would get different windows in tty.
Byobu provides good abstraction on tmux as well as screen. Allows you to choose keybindings from any of the two.
I really enjoy byobu, especially since it has nice colors and is a mature well supported project
Well, there’s twin.