Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Custom tmux configuration: ~/.tmux.conf
- #Start Session: tmux attach -d -t x
- # SETTING SECTION -------------------------------------------------------
- # set the command prefix to match gnuscreen (i.e. CTRL+a)
- set -g prefix C-a
- bind-key C-a last-window
- # utf8
- set-window-option -g utf8 on
- # Set window notifications
- setw -g monitor-activity on
- set -g visual-activity on
- # COLOR -----------------------------------------------------------------
- # Highlight active window
- set-window-option -g window-status-current-bg blue
- # set the current window name to a nice bold white text
- setw -g window-status-current-attr bold
- setw -g window-status-current-fg white
- # statusbar background to black, foreground to white
- set-option -g status-fg white
- set-option -g status-bg black
- # STATUSBAR --------------------------------------------------------------
- # start window indexing at one instead of zero
- set -g base-index 1
- # hostname is printed on the left, uptime and current load on the right
- set -g status-left '#[fg=red]#H'
- set -g status-right "#(uptime|cut -d "," -f 1-2)"
- # Automatically set window title
- setw -g automatic-rename
- # don't rename windows automatically
- set-window-option -g automatic-rename off
- # fix the titles
- set -g set-titles on
- set -g set-titles-string "#I:#W"
- # be notified when there is activity in one of your windows
- setw -g monitor-activity on
- # scrollback buffer n lines
- set -g history-limit 5000
- # BINDING SECTION ------------------------------------------------------
- # reload changes in tmux, handy
- bind r source-file ~/.tmux.conf
- #split screen
- unbind %
- bind | split-window -h
- bind - split-window -v
- # ctrl+left/right cycles thru windows
- bind-key -n C-right next
- bind-key -n C-left prev
- # open a man page in new window
- bind / command-prompt "split-window 'exec man %%'"
- # quick view of processes
- bind '~' split-window "exec htop"
- #STARTUP SESSION -----------------------------------------------------
- # das musst du dir umschreiben wie du es brauchst
- # session initialization
- new -s x weechat-curses
- splitw -p 10 "mocp -T ~/.moc/themes/cyan"
- splitw -h
- neww "ssh to some where"
- selectw -t 2
- #select-pane -t 0
Add Comment
Please, Sign In to add comment