The author uses Windows Terminal and tmux over SSH to connect to a remote machine, automatically starting tmux and zsh in a new tab.
They use zoxide for fuzzy directory navigation and zsh history completion to quickly form commands.
A custom tmux key binding runs a regex search in copy mode to find file paths in scrollback and highlight them.
Pressing ‘o’ opens the selected file in a new tmux pane running nvim on the remote server without a local clone.
A shell/perl script handles file associations, bouncing back to tmux to open files or launch splits in the active editor.
The setup replaces VSCode for better performance, consistent keybindings, and easier scripting via tmux.
The author plans to switch from tmux to the Kitty terminal’s built-in session persistence and keep similar scripting features.
They recommend simpler alternatives for newcomers, such as fish+zoxide+fzf, editor fuzzy finders, qf for selecting output files, and remote editor commands.
Get notified when new stories are published for "🇺🇸 Hacker News English"