fixed tmux start script default-tmux-session

changed tmux keymaps for pane splitting to start pane in the same
directory
This commit is contained in:
quak
2025-01-04 10:06:03 +01:00
parent 6aa9ebd3a0
commit 943c8b0392
3 changed files with 28 additions and 17 deletions

View File

@@ -26,8 +26,8 @@ unbind x
bind x kill-pane -t +0
# keymaps for splitting
bind v split-pane -v
bind h split-pane -h
bind v split-pane -v -c "#{pane_current_path}"
bind h split-pane -h -c "#{pane_current_path}"
bind b break-pane
unbind t
bind t command-prompt -p "move pane to window:" "join-pane -t '%%'"

View File

@@ -2,6 +2,9 @@
# use interactive shell instead of login shell
set-option -g default-command "/bin/bash"
# ..
set-option -s exit-unattached off
# enable rgb colors
set-option -sa terminal-features ',xterm-256color:RGB'