Subscribe to Stuck in an Infiniteloop        RSS Feed
-----

tmux has changed my life

Icon 1 Comments
I know what you're thinking:

Posted Image

But hear me out. I always ran multiple tabs, multiple window setup and it worked. But last week, I had a coworker show me this "program" he used to recreate part of our product's GUI. Basically a shell script that sets up tmux, splits up the window, and runs a variety of scripts in each. It was glorious. I spent all Friday creating my own and extended it accept some parameters and bam, amazingly useful tool! Especially in instances where forwarding the X server back is unwieldy.

If you haven't given tmux a go and you're not solidly in the "need a real GUI" camp, try it right now!

------

Mapping the crtl key from C-b to C-a is what really made it for me. My simple .tmux.conf:

# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix

# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf

#add mouse support
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on

#which one has focus?
set-option -g pane-active-border-fg green

1 Comments On This Entry

Page 1 of 1

modi123_1 

16 April 2015 - 06:48 AM
Oh my. Now make that into a web site page stat!
0
Page 1 of 1

April 2019

S M T W T F S
 123456
78910111213
14151617181920
212223 24 252627
282930    

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)