update
This commit is contained in:
parent
d1caa253db
commit
b8568952b4
5 changed files with 144 additions and 28 deletions
|
|
@ -28,11 +28,11 @@ set-option -g @ssh-split-v-key '"'
|
|||
set-option -g @ssh-split-keep-cwd "true"
|
||||
set-option -g @ssh-split-keep-remote-cwd "true"
|
||||
|
||||
# Use Alt-arrow keys without prefix key to switch panes
|
||||
bind -n M-H resize-pane -L 5
|
||||
bind -n M-L resize-pane -R 5
|
||||
bind -n M-K resize-pane -U 5
|
||||
bind -n M-J resize-pane -D 5
|
||||
# resize windows
|
||||
bind -n C-M-h resize-pane -L 5
|
||||
bind -n C-M-l resize-pane -R 5
|
||||
bind -n C-M-k resize-pane -U 5
|
||||
bind -n C-M-j resize-pane -D 5
|
||||
|
||||
# Shift arrow to switch windows
|
||||
bind -n S-Left previous-window
|
||||
|
|
@ -62,4 +62,12 @@ bind '"' split-window -v -c "#{pane_current_path}"
|
|||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
bind C-j display-popup -E "\
|
||||
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\
|
||||
sed '/^$/d' |\
|
||||
fzf --reverse --header jump-to-session --preview 'tmux capture-pane -pt {}' \
|
||||
--bind 'enter:execute(tmux switch-client -t {})+accept'"
|
||||
|
||||
bind C-g display-popup -E "lazygit"
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue