summaryrefslogtreecommitdiff
path: root/.config/tmux
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@simplelittledream.com>2023-05-03 22:44:18 -0400
committerJacob McDonnell <jacob@simplelittledream.com>2023-05-03 22:44:18 -0400
commit43d25ae36f9228d214138465f1f98a7ff0f59391 (patch)
treec7739d695ea3953659ed069bc12d5c1968fc8d4d /.config/tmux
parent5c54c11b19bafc00e600960b4bf8d865a9592ae7 (diff)
Updated tmux conf
Diffstat (limited to '.config/tmux')
-rw-r--r--.config/tmux/tmux.conf14
1 files changed, 10 insertions, 4 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index d3698f9..9afe89f 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -1,15 +1,18 @@
-#set -ga terminal-overrides ",xterm-256color*:Tc"
+set-option -sa terminal-overrides ",xterm*:Tc"
set -s escape-time 0
set -g mouse on
set-option -g history-limit 5000
-#unbind C-b
-#set-option -g prefix C-a
-#bind-key C-a send-prefix
+# unbind C-b
+# set-option -g prefix C-Space
+# bind-key C-Space send-prefix
bind r source-file ~/.tmux.conf
set -g base-index 1
+set -g pane-base-index 1
+set-window-option -g pane-base-index 1
+set-option -g renumber-windows on
set-window-option -g mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection
@@ -22,6 +25,9 @@ bind -r j select-pane -D
bind -r h select-pane -L
bind -r l select-pane -R
+bind '"' split-window -v -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
+
# forget the find window. That is for chumps
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"