summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorfrosty <passedgoandgot200@disroot.org>2025-07-04 07:05:09 -0400
committerfrosty <passedgoandgot200@disroot.org>2025-07-04 07:05:09 -0400
commite5a12a6ca72f45c5ae5f7c7056c77500834d108d (patch)
tree8be0f2df0ada6d45bcf8eeceaca7686df0cb90cb /.config
parent60ab4987b4a15e2a4ab1ce3c660e1ef7c03d5318 (diff)
downloaddotfiles-e5a12a6ca72f45c5ae5f7c7056c77500834d108d.tar.gz
dotfiles-e5a12a6ca72f45c5ae5f7c7056c77500834d108d.zip
add tmux
Diffstat (limited to '.config')
-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}"