Live data from Hacker News

Benefits of using tmux – streamlining your development environment

blog.bugsnag.com

21–30 of 172 posts

Re: Benefits of using tmux – streamlining your development environment

#21
post #9

Does anyone run tmux with a tiling window manager for local development? If so, what are the advantages? I know automating sessions is one of them, as explained in the article. I am more interested in hearing about interactions with the terminal. You already get good mouse-less window management with something like i3 or xmonad. How about copy & paste? I use urxvt plugin for this, but I often find myself using the mo…

I was a long time tmux user while on mac. Since I've swapped to arch and i3 I don't use tmux at all, and just use the WM. I basically live in terminals nowadays and I've not really missed tmux. The thing I really do miss is vim-tmux-navigator.

https://github.com/christoomey/vim-tmux-navigator.

Re: Benefits of using tmux – streamlining your development environment

#22

Earlier quoted context omitted.

While it's better than the default terminal, iTerm2's tmux integration has always felt weak contrasted to the advantages of tmux. I've used tmux for the past four years as my main environment, and was totally psyched to hear they were integrating it into iTerm2. But when I began digging into it, little from my workflows translated to the "integration" provided by iTerm2. While it's a great feature of iTerm2, I find m…

I mainly like it because scrollback works in the GUI.

That's one frustration I have with Tmux. I want mouse scrollback, but don't want the other mouse controls. If I remember correctly I would accidentally go into copy-mode when I click-dragged my mouse by accident.

Re: Benefits of using tmux – streamlining your development environment

#23
I've been using tmux heavily in my local development workflow for the last 6 months or so, and it absolutely pays off to have three window tiles in a single terminal window at a bare minimum. I am also using teamocil to manage windows and panes in tmux, although it's not needed at all: https://github.com/remiprev/teamocil

When I set up initially on OSX, the conf took me a few to get right so that I have some mousing abilities and reasonable vim support. Here is a copy of my (simple) tmux.conf file: https://gist.github.com/mcescalante/004e649d8484574ce9d296ad...

Re: Benefits of using tmux – streamlining your development environment

#24
post #9

Does anyone run tmux with a tiling window manager for local development? If so, what are the advantages? I know automating sessions is one of them, as explained in the article. I am more interested in hearing about interactions with the terminal. You already get good mouse-less window management with something like i3 or xmonad. How about copy & paste? I use urxvt plugin for this, but I often find myself using the mo…

I do that, not in a real "tiling window manager" but something very close: openbox, set to show no titlebars, and using shortcuts to title the windows to precise positions. I have 3 position: most of my screen on the left, a small vertical slice on the right, a smaller chunk underneath. If I want a titlebar for some application, I have a shortcut that will give the window a titlebar, and then I can move it around wit…

Thanks, this is very interesting.

I agree one of the major pain points of X11 systems, terminals, etc is the clipboard. So many different concepts and shortcuts across programs.

I use xmonad, urxvt or xterm, emacs-nox and vimperator. I'm trying to make all them consistent. Perhaps the last thing to polish in my setup.

Re: Benefits of using tmux – streamlining your development environment

#25
When I was first introduced to tmux, I was really excited by having a terminal session I could reattach to. I was never able to get very deep into it though: (1) a lot of the time a single script would get me up to speed, (2) the extra layer of abstraction broke some stuff I was doing, and (3) I couldn't make heads or tails of a lot of the tmux documentation. I'll definitely take a second look at a lot of the things people are posting here, but in the meantime, is there somewhere I can actually learn how to use tmux properly?

Re: Benefits of using tmux – streamlining your development environment

#26
post #9

Does anyone run tmux with a tiling window manager for local development? If so, what are the advantages? I know automating sessions is one of them, as explained in the article. I am more interested in hearing about interactions with the terminal. You already get good mouse-less window management with something like i3 or xmonad. How about copy & paste? I use urxvt plugin for this, but I often find myself using the mo…

I use it with Xmonad, for me tmux's scripting and ability to detach and attach to sessions is a big win. It also allows me to run async tests by triggering a test from vim without blocking. And, the copy paste support is also very good.

Re: Benefits of using tmux – streamlining your development environment

#27
post #8

tmux git:(master) cloc . 189 text files. 184 unique files. 21 files ignored. github.com/AlDanial/cloc v 1.70 T=0.61 s (276.7 files/s, 83432.2 lines/s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 154 6714 5295 33234 C/C++ Header 8 528 543 3236 m4 1 56 0 612 awk 1 7 23…

I'm sorry if I'm missing something obvious, but what on earth is the point being made here?

Re: Benefits of using tmux – streamlining your development environment

#28
post #9

Does anyone run tmux with a tiling window manager for local development? If so, what are the advantages? I know automating sessions is one of them, as explained in the article. I am more interested in hearing about interactions with the terminal. You already get good mouse-less window management with something like i3 or xmonad. How about copy & paste? I use urxvt plugin for this, but I often find myself using the mo…

How do you deal with switching between projects though? I find my self switching between several projects as I'm working through something and suddenly something needs to be done in another project which is blocking someone. Wouldn't tmux + tmuxp (or similar) be more useful than just i3? Or do you have scripts for launching all those windows and putting them in the right place?

Re: Benefits of using tmux – streamlining your development environment

#29
post #8

tmux git:(master) cloc . 189 text files. 184 unique files. 21 files ignored. github.com/AlDanial/cloc v 1.70 T=0.61 s (276.7 files/s, 83432.2 lines/s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 154 6714 5295 33234 C/C++ Header 8 528 543 3236 m4 1 56 0 612 awk 1 7 23…

I'm sorry if I'm missing something obvious, but what on earth is the point being made here?

I think they are trying to say screen is better since it uses less code.

Re: Benefits of using tmux – streamlining your development environment

#30

I use a tool called tummy ( https://github.com/minhajuddin/tummy full disclosure: built by me) which allows me to create a Tmuxfile per project. A typical file looks like this: session "liveform" directory "/home/minhajuddin/r/liveform/frontend" window "src", [ pane("vim TODO"), ] window "server-pry", [ pane("puma --port 3000 --config

Your github seems to be missing the code!

  require "tummy/version"

  module Tummy
    # Your code goes here...
  end
Post reply on HN