Benefits of using tmux – streamlining your development environment
161–170 of 172 posts
Re: Benefits of using tmux – streamlining your development environment
#162To me tmux, like a lot of tools, suffers from bad defaults that makes it less enjoyable to use. One example is not being able to scroll with a mouse. I usually find someone's tmux.conf online and use it, but always run into strange problems that I don't have the energy figuring out. My current conf suffers from the navigation bar going completely black when I try to rename a pane (can't see what i'm typing). Really w…
I guess bad defaults have been chosen to maintain stability for previous users. IMHO, man pages should contain a .tmux.conf that demonstrate the "best" usage(s) of the tool. IMHO man is the most important command in unix and "man man" the first step in learning unix.
Speaking of... https://github.com/tldr-pages/tldr/blob/master/pages/common/...
Re: Benefits of using tmux – streamlining your development environment
#163Earlier quoted context omitted.
Is your reply really necessary? It doesn't contribute anything. At least other people having the same issues which you know the solutions but don't share, can benefit. Sorry, it just came out wrong to me.
It contributes to preventing the topic from derailing into "how to configure tmux", which is not what my comment was about. Derailing threads is considered bad etiquette online, it's not just me.
Re: Benefits of using tmux – streamlining your development environment
#164This is actually why I prefer Emacs. I can literally do all my development work in Emacs, with a full-featured shell (e-shell), directory explorer (dir-ed), REPL and full IDE for Clojure (CIDER). It's pretty great.
Re: Benefits of using tmux – streamlining your development environment
#165If you want to get a taste of the benefits of tmux without having to learn anything new, I recommend using iTerm and setting up an alias for 'ssh [your server] -t "tmux -CC attach || tmux -CC"' Just running that command will connect to your server and attach to an existing tmux session, or create a new one if needed, and make use of iTerm's tmux integration, so you can use the standard macOS keyboard commands (or the…
Use mosh[1] instead of ssh for superior handling of weaker connections and roaming. You close your laptop one place, go elsewhere, switch to LTE, whatever, open the lid and you're back on. Don't even need to reconnect. [1] https://mosh.org/
Re: Benefits of using tmux – streamlining your development environment
#166Earlier quoted context omitted.
I guess bad defaults have been chosen to maintain stability for previous users. IMHO, man pages should contain a .tmux.conf that demonstrate the "best" usage(s) of the tool. IMHO man is the most important command in unix and "man man" the first step in learning unix.
IMHO man is one of the worst things in Unix. Generally I find that tldr https://github.com/tldr-pages/tldr or bro http://bropages.org/ are far more efficient. Speaking of... https://github.com/tldr-pages/tldr/blob/master/pages/common/...
Re: Benefits of using tmux – streamlining your development environment
#167I dropped tmux for neovim terminal emulator with neovim-remote to hook into my existing nvim session. So far so go!
Re: Benefits of using tmux – streamlining your development environment
#168However, I'm prevented from switching to Tmux because you can't attach to the same session from multiple terminals, and show a different window in each terminal.
I use this all the time in Screen - in Tmux, changing the window being viewed in one terminal, changes all other terminals attached to that session.
Re: Benefits of using tmux – streamlining your development environment
#169I dropped tmux for neovim terminal emulator with neovim-remote to hook into my existing nvim session. So far so go!
How do you deal with :terminal replacing your current buffer (it close it when you exit the shell). And the fact that as far as I can tell none of your keybindings work when you're inside :terminal?
Similarly my keybindings can be mapped just as I did in my dotfiles (first link). Probably my favorite part is being able to search my terminal instance in vim style with `/` and navigate as I would in any other file
Re: Benefits of using tmux – streamlining your development environment
#170Earlier quoted context omitted.
Use mosh[1] instead of ssh for superior handling of weaker connections and roaming. You close your laptop one place, go elsewhere, switch to LTE, whatever, open the lid and you're back on. Don't even need to reconnect. [1] https://mosh.org/
It's a real shame that it can't handle X11 forwarding, which is pretty much all I use ssh for nowadays.