summaryrefslogtreecommitdiff
path: root/.config/tmux
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux')
-rw-r--r--.config/tmux/tmux.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
new file mode 100644
index 0000000..43b85e4
--- /dev/null
+++ b/.config/tmux/tmux.conf
@@ -0,0 +1,23 @@
+# prefix
+unbind C-b
+set -g prefix C-j
+
+# other binds
+bind j send-prefix
+bind C-j last-window
+bind R source "$XDG_CONFIG_HOME/tmux/tmux.conf"
+bind U neww fzy-tmux-project
+bind A neww fzy-bookmark
+bind -T copy-mode-vi M-w send -X copy-pipe-and-cancel "wl-copy"
+
+# navigation
+set -g base-index 1
+setw -g pane-base-index 1
+bind 0 select-window -t 10
+
+# ui
+set -g status-style "fg=white"
+
+bind '"' split-window -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
+bind c new-window -c "#{pane_current_path}"