Adding tmux.conf
This commit is contained in:
parent
e6e01bd37b
commit
4dd063de09
1 changed files with 99 additions and 0 deletions
99
.tmux.conf
Normal file
99
.tmux.conf
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
|
||||
### screen-like keybindings
|
||||
#unbind C-b
|
||||
#set -g prefix C-a
|
||||
#bind C-a last-window
|
||||
#bind a send-prefix
|
||||
#bind A command-prompt "rename-window %%"
|
||||
#bind Escape copy-mode
|
||||
|
||||
# vi-keys everywhere; anything else would be uncivilized
|
||||
setw -g xterm-keys on
|
||||
setw -g mode-keys vi
|
||||
#set -g status-keys vi
|
||||
|
||||
# movement
|
||||
bind h left-pane
|
||||
bind j up-pane
|
||||
bind k down-pane
|
||||
bind l right-pane
|
||||
#bind Tab down-pane
|
||||
#bind BTab up-pane
|
||||
|
||||
# Reload key
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
# Moving between windows
|
||||
#bind " " next-window
|
||||
#bind BSpace previous-window
|
||||
#bind '"' choose-window
|
||||
#bind l refresh-client
|
||||
|
||||
# splits
|
||||
#unbind %
|
||||
#unbind '"'
|
||||
#bind | split-window -h
|
||||
#bind - split-window -v
|
||||
#bind = next-layout
|
||||
|
||||
# confirm before killing a window or server
|
||||
#bind k confirm kill-window
|
||||
bind \ confirm-before "kill-server"
|
||||
|
||||
# nice, big scrollback buffer (lines)
|
||||
set -g history-limit 5000
|
||||
|
||||
# lock after 30 minutes of inactivity
|
||||
#set-option -g lock-after-time 1800
|
||||
#bind ^X lock-server
|
||||
|
||||
# Rather than constraining window size to the maximum size of any client
|
||||
# connected to the *session*, constrain window size to the maximum size of any
|
||||
# client connected to *that window*. Much more reasonable.
|
||||
setw -g aggressive-resize on
|
||||
|
||||
### Initial windows
|
||||
#setenv -g SSH_AUTH_SOCK $HOME/.tmux-ssh-agent
|
||||
#new -d -n agent "ssh-agent -a $SSH_AUTH_SOCK zsh"
|
||||
#neww -n netdb
|
||||
#neww -n root
|
||||
#neww -n root
|
||||
#neww -n root
|
||||
#neww -n root
|
||||
#neww -n root
|
||||
#neww -n mutt
|
||||
#selectw -t 0
|
||||
|
||||
|
||||
### Colors
|
||||
#set -g status-bg black
|
||||
#set -g status-fg white
|
||||
#setw -g window-status-current-bg white
|
||||
#setw -g window-status-current-fg blue
|
||||
setw -g utf8 on
|
||||
|
||||
|
||||
### Status bar
|
||||
#set -g status-right "#[fg=magenta] @#H #[fg=cyan]%Y-%m-%d #[fg=yellow]%a #[fg=green]%H:%M #[fg=blue]#(uptime|awk '{split(substr($0, index($0, "load")), a, ":"); print a[2]}')#[default]"
|
||||
#set -g status off
|
||||
#set -g status-utf8 on
|
||||
#set -g status-justify left
|
||||
#set -g status-bg black
|
||||
#set -g status-fg white
|
||||
#set -g status-left-length 40
|
||||
#set -g pane-active-border-fg red
|
||||
#set -g pane-active-border-bg default
|
||||
#set -g pane-border-fg red
|
||||
#set -g pane-border-bg default
|
||||
#set -g message-fg black
|
||||
#set -g message-bg green
|
||||
#setw -g mode-bg black
|
||||
#setw -g window-status-bg black
|
||||
#setw -g window-status-current-fg green
|
||||
#setw -g window-status-alert-attr default
|
||||
#setw -g window-status-alert-fg yellow
|
||||
#set -g status-left '#[fg=red]#H#[fg=green]:#[fg=white]#S #[fg=green]][#[default]'
|
||||
# set -g status-right '#[fg=green]][#[fg=white] #T #[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'
|
||||
#set -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'
|
||||
|
||||
# vim:ft=tmux
|
||||
Loading…
Add table
Add a link
Reference in a new issue