diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-03-01 23:16:39 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-03-01 23:16:39 -0600 |
commit | 10c8ca3c945a1bf7adffbb1dbac0789be85387e0 (patch) | |
tree | 743b1b29d4d0abda51995744c680b9a5e8fe5e19 /tmux.conf | |
parent | ade1459b0c9d2c3e9da0923c92cd74c1f195cead (diff) |
feat: trying out new terminals
Diffstat (limited to 'tmux.conf')
-rw-r--r-- | tmux.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..026697e --- /dev/null +++ b/tmux.conf @@ -0,0 +1,27 @@ +set -g default-terminal "tmux-256color" +set -ga terminal-overrides ",xterm-256color*:Tc" +set -g mouse on + +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix +set -g status-style 'bg=#333333 fg=#5eacd3' + +bind r source-file ~/.tmux.conf +set -g base-index 1 + +set-window-option -g mode-keys vi +bind -T copy-mode-vi v send-keys -X begin-selection +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' + +bind | split-window -h +bind \ split-window -v +unbind '"' +unbind % + +# vim-like pane switching +bind -r ^ last-window +bind -r k select-pane -U +bind -r j select-pane -D +bind -r h select-pane -L +bind -r l select-pane -R |