diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 61199ad..dd6d8be 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -22,8 +22,11 @@ bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xclip"\ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xclip"\; display "Copied" # Split -bind S-down split-window -v -bind S-right split-window -h +bind S-down split-window -v -c "#{pane_current_path}" +bind S-right split-window -h -c "#{pane_current_path}" + +# Override new window +bind c new-window -c "~/" # Navigation bind -n C-Left select-pane -L diff --git a/.zshrc b/.zshrc index 9a9ab7f..0016c98 100644 --- a/.zshrc +++ b/.zshrc @@ -129,9 +129,6 @@ which helm 1> /dev/null && source <(helm completion zsh) # doctl completion which doctl 1> /dev/null && source <(doctl completion zsh) -# Start in the home directory -cd ~ - # Ensure zinit is installed ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git" [ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"