Skip to content

Commit

Permalink
feat: godlike tmux navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
FredeHoey committed Nov 22, 2024
1 parent 2a5a2b6 commit e180562
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions users/bun.nix
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,16 @@ in {
set-environment -g COLORTERM "truecolor"
set -wg mode-keys vi
bind-key -n M-j if-shell "tmux select-window -t :0" "" "new-window -t :0"
bind-key -n M-k if-shell "tmux select-window -t :1" "" "new-window -t :1"
bind-key -n M-l if-shell "tmux select-window -t :2" "" "new-window -t :2"
bind-key -n M-\; if-shell "tmux select-window -t :3" "" "new-window -t :3"
bind-key -n M-J if-shell "tmux move-pane -t :0" "" "break-pane -t :0"
bind-key -n M-K if-shell "tmux move-pane -t :1" "" "break-pane -t :1"
bind-key -n M-L if-shell "tmux move-pane -t :2" "" "break-pane -t :2"
bind-key -n M-\: if-shell "tmux move-pane -t :3" "" "break-pane -t :3"
bind-key C-p run-shell ${tmux-project}/bin/tmux-project
bind-key C-l run-shell ${git-tools}/bin/gl
Expand Down

0 comments on commit e180562

Please sign in to comment.