summaryrefslogtreecommitdiff
path: root/.config/tmux
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@simplelittledream.com>2022-10-26 15:14:32 -0400
committerJacob McDonnell <jacob@simplelittledream.com>2022-10-26 15:14:32 -0400
commite92e82df51537e958a7d642bcd7898b1b5009327 (patch)
tree4fa9532f2e8fda1b49798d7a3d5bfe8219f0dca4 /.config/tmux
parent6b6e91707ecf621a0bedad154351db8f1ccc2123 (diff)
Integrated ThePrimeagen's Tmux Environment
Diffstat (limited to '.config/tmux')
-rw-r--r--.config/tmux/tmux.conf25
1 files changed, 25 insertions, 0 deletions
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"
+