From e92e82df51537e958a7d642bcd7898b1b5009327 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Wed, 26 Oct 2022 15:14:32 -0400 Subject: Integrated ThePrimeagen's Tmux Environment --- .config/tmux/tmux.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .config/tmux/tmux.conf (limited to '.config/tmux/tmux.conf') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf new file mode 100644 index 0000000..139c895 --- /dev/null +++ b/.config/tmux/tmux.conf @@ -0,0 +1,25 @@ +set -ga terminal-overrides ",xterm-256color*:Tc" +set -s escape-time 0 + +bind-key C-b 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' + +# 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 + +# forget the find window. That is for chumps +bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer" + +bind-key -r T run-shell "~/.local/bin/tmux-sessionizer ~/Documents/Projects/git/The-Morning-Paper" + -- cgit v1.2.3