From 84425c084ab6ca4b4d4321742e342d18c5a30c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gremaud?= Date: Wed, 6 Sep 2023 16:53:36 +0200 Subject: [PATCH] Tmux: Add binding to switch to last session --- neovim | 2 +- tmux.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/neovim b/neovim index 29a0d2e..25bc8e0 160000 --- a/neovim +++ b/neovim @@ -1 +1 @@ -Subproject commit 29a0d2ee306f7d39ec09f598a6b3d22dd9676d98 +Subproject commit 25bc8e05c434398092004f990e5707276bcad629 diff --git a/tmux.conf b/tmux.conf index 36b6772..20af631 100644 --- a/tmux.conf +++ b/tmux.conf @@ -10,6 +10,9 @@ bind s split-window -h -p 20 -c "#{pane_current_path}" bind g split-window -h -p 20 -c "#{pane_current_path}" -b bind v split-window -v -p 30 -c "#{pane_current_path}" +# Switch to last sesions, usefull for cross-project (since i'm using a session per project, with tmux-sessionizer script) +bind k switch-client -l + # switch panes bind -n M-w select-pane -U bind -n M-a select-pane -L