Live data from Hacker News

Benefits of using tmux – streamlining your development environment

blog.bugsnag.com

1–10 of 172 posts

Re: Benefits of using tmux – streamlining your development environment

#3

iTerm2 has integration with tmux. Much better than the default Terminal shipped with macOS.

I greatly prefer Terminal.app on OS X, very standards compliant and predictable; if a bit slow but iTerm2 is slow as well.

Re: Benefits of using tmux – streamlining your development environment

#4

iTerm2 has integration with tmux. Much better than the default Terminal shipped with macOS.

I greatly prefer Terminal.app on OS X, very standards compliant and predictable; if a bit slow but iTerm2 is slow as well.

iTerm's killer feature for me is the special paste modes - it is trivially easy to do things like visually select a block of processes numbers from ps and then paste that block as a space-delimited list on one line to kill them, etc. Terminal.app is fine for most things but can't do stuff like this.

Re: Benefits of using tmux – streamlining your development environment

#5

iTerm2 has integration with tmux. Much better than the default Terminal shipped with macOS.

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 myself just using regular old tmux instead.

What features of the tmux integration do you utilize in iTerm2?

And for sitting through this, here's how to remap the default tmux hotkey: https://github.com/erronjason/dotfiles/blob/master/.tmux.con...

Re: Benefits of using tmux – streamlining your development environment

#6

iTerm2 has integration with tmux. Much better than the default Terminal shipped with macOS.

I greatly prefer Terminal.app on OS X, very standards compliant and predictable; if a bit slow but iTerm2 is slow as well.

I believe I get less lag in xterm within an Ubuntu VM than with iTerm2.

Re: Benefits of using tmux – streamlining your development environment

#7

iTerm2 has integration with tmux. Much better than the default Terminal shipped with macOS.

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.

Re: Benefits of using tmux – streamlining your development environment

#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            340 
  make                             1             13             15            245
  Perl                             1              9             12             42
  Bourne Shell                     2              5              0             24
  YAML                             1              0              0             10
  -------------------------------------------------------------------------------
  SUM:                           169           7332           5888          37743
  -------------------------------------------------------------------------------


    screen git:(master) cloc .
     131 text files.
     120 unique files.                           
      39 files ignored.

  github.com/AlDanial/cloc v 1.70  T=0.42 s (221.1 files/s, 90285.5 lines/s)
  -------------------------------------------------------------------------------
  Language                     files          blank        comment           code
  -------------------------------------------------------------------------------
  C                               42           2645           3053          28039
  C/C++ Header                    38            437            809           1970
  Bourne Shell                     9             97            100            465
  m4                               1             42             21            142
  Perl                             2             10              5             96
  zsh                              1              4              8             41
  -------------------------------------------------------------------------------
  SUM:                            93           3235           3996          30753
  -------------------------------------------------------------------------------

Re: Benefits of using tmux – streamlining your development environment

#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 mouse to select and middle-click. Is tmux better?

Re: Benefits of using tmux – streamlining your development environment

#10
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 run i3 and tmux. The biggest reason I do this is that I'm much more used to tmux key bindings rather than i3. Moreover, I don't think I'd get any huge benefits by getting more used to i3 key bindings.

Edit for another reason: I use Tmux on my work laptop (OSX) and on my Desktop (FreeBSD + i3), so my key bindings are supported on essentially whatever machine I'm on.

Post reply on HN