tmux_config
---------------------
Configuration
---------------------
-- general -------------------------------------------------------------------
-- urlview -------------------------------------------------------------------
remap prefix from 'C-b' to 'C-a'-----------------------------------------------
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
split panes using | and -
0 is too far from ` ;)
reload config file (change file location to your the tmux.conf you want to use)
switch panes using Alt-arrow without prefix
Increase scrollback history limit
Enable mouse mode (tmux 2.1 and above)
To copy, left click and drag to highlight text in yellow,
once you release left click yellow text will disappear and will automatically be available in clibboard
# Use vim keybindings in copy mode
Update default binding of Enter to also use copy-pipe
Enter to also use copy-pipedon't rename windows automatically
Open Panes
bind-key M-h new-window -n hax \; \
split-window -v -p 50 -t 1 hax \; \
send-keys -t hax 'tmux select-pane -P 'fg=Blue'' 'Enter' \; \
split-window -h -p 50 -t 2 hax \; \
send-keys -t hax 'tmux select-pane -P 'fg=Purple'' 'Enter' \; \
THEME
List of plugins
Other examples:
set -g @plugin 'github_username/plugin_name'
set -g @plugin 'git@github.com/user/plugin'
set -g @plugin 'git@bitbucket.com/user/plugin'
Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
Last updated