view .tmux.conf @ 482:93ac94dc3feb

Updated config
author unexist
date Thu, 29 Nov 2018 09:25:32 +0100
parents 531641fb9c83
children fb264348ba0d
line wrap: on
line source


# @file tmux.conf
#
# @copyright (c) 2010-2011, Christoph Kappel <unexist@dorfelite.net>
# @version $Id: .tmux.conf,v 453 1388080908.0-3600 unexist $
#

# Prefix key
set -g prefix C-a
unbind C-b
bind C-a send-prefix

# Keys
bind k confirm kill-window
bind K confirm kill-server
bind % split-window -h
bind : split-window -v
bind < resize-pane -L 1
bind > resize-pane -R 1
bind - resize-pane -D 1
bind + resize-pane -U 1
bind . command-prompt
bind a last-window
bind space command-prompt -p index "select-window"

# Keys w/o prefix key
bind -n C-right next-window
bind -n C-left previous-window

# Special
bind s new-window -n "su" su
bind i new-window -n "irb" irb
bind j new-window -d -n "jd" jd.sh
bind m new-window -n "ncmpcpp" "setw monitor-activity off; exec ncmpcpp"
bind w new-window -n "wicd" "setw monitor-activity off; exec wicd-curses"
bind x new-window -n "xvfb" "setw monitor-activity off; exec ruby /home/unexist/projects/subtle/test/xserver.rb"
bind S command-prompt -p "Host?" "new-window -n 'ssh:%1' 'ssh %1'"
bind A command-prompt -p "Name?" "setw automatic-rename off; rename-window %%"
bind / command-prompt -p "Manpage?" "new-window -n 'man:%1' 'exec man %1'"

# Options
set -g bell-action none
set -g set-titles on
set -g set-titles-string "tmux:#W#I"
set -g base-index 1
set -g status-left "-- #W --"
set -g status-left-attr bold
set -g status-right "#H:#S"
set -g pane-active-border-bg black
set -g pane-active-border-fg black
set -g default-terminal "screen-256color"
set -g default-path "$HOME"

# Window options
setw -g monitor-activity off
setw -g automatic-rename on

# Colors
setw -g window-status-current-fg red

set -g status-bg black
set -g status-fg white

set -g message-bg white
set -g message-fg black