guix-machines/user-config/tmux/.tmux.conf

31 lines
718 B
Plaintext
Raw Normal View History

# File: .tmux.conf
# Author: Collin J. Doering <rekahsoft@gmail.com>
# Date: Jan 18, 2014
# Set prefix key to C-t instead of default C-b
unbind C-b
set -g prefix C-t
# Mimic 256 colors
set -g default-terminal "screen-256color"
# Toggle last window like screen
bind-key C-t last-window
# Rebind clock-mode to "prefix T"
unbind t
bind-key T clock-mode
# Send prefix to underlying application using "prefix t"
bind-key t send-prefix
# Setup pane movement
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
# session initialization
#new -s default -n zsh zsh
#neww -n weechat weechat-curses
#neww -n emacs emacsclient
#selectw -t 1