This commit is contained in:
Ivan Kovmir 2022-08-10 10:59:12 +02:00
parent d70adf7697
commit 4e18911327
1 changed files with 35 additions and 0 deletions

35
tmux/.tmux.conf Normal file
View File

@ -0,0 +1,35 @@
# sane prefix
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Enable mouse control (clickable windows, panes, resizable panes)
#set -g mouse on
set -g status-justify left
set -g status-fg black
set -g status-bg yellow
set -g status-interval 2
# vim stuff
set-option -sg escape-time 10
set-option -g default-terminal "screen-256color"
set-option -sa terminal-overrides ',xterm-256color:RGB'
# vi controls
set-window-option -g mode-keys vi