Created
September 3, 2011 14:29
-
-
Save sjunior-dev/1191266 to your computer and use it in GitHub Desktop.
Revisions
-
sjunior-dev created this gist
Sep 3, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ setw -g xterm-keys on setw -g mode-mouse on setw -g mode-keys vi set -g mouse-select-pane on set -g set-titles on set -g history-limit 10000 set -g prefix C-a bind-key C-a last-window unbind % bind | split-window -h bind - split-window -v # Set status bar set -g status-bg black set -g status-fg white set -g status-left '#[fg=green]#H' set -g status-right '#[fg=yellow]#(cut -d " " -f1-4 /proc/loadavg)' # Highlight active window set-window-option -g window-status-current-bg red # Automatically set window title setw -g automatic-rename # Set window notifications setw -g monitor-activity on set -g visual-activity on # @.bashrc: #PS2='$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#I") $PWD)' #PS1="${PS1}${PS2}" bind-key C-c run-shell 'tmux neww -n bash "cd $(tmux display -p "\$TMUXPWD_#I"); exec bash"' bind -n M-Left previous-window bind -n M-Right next-window