Update to load tmux panes in cwd
and new windows in ~/
This commit is contained in:
parent
ecdc2c2b86
commit
4aaf3ee9fa
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
3
.zshrc
3
.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)"
|
||||
|
|
Loading…
Reference in a new issue