File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,12 +62,17 @@ bind-key "F" run-shell "sesh connect \"$(
6262 --bind 'ctrl-e:execute(tmux kill-session -t {})+change-prompt(⚡ )+reload(sesh list)'
6363)\""
6464
65+ # -E flag makes sure the environment variables are preserved in the popup
66+ # -w flag sets the width of the popup
6567bind-key "h" display-popup -E -w 60% "zsh -c 'source $HOME/.zprofile; $HOME/scripts/find_and_open_repo_in_browser'"
6668bind-key "H" display-popup -E -w 60% "zsh -c 'source $HOME/.zprofile; $HOME/scripts/find_and_clone_repo_and_connect_with_sesh'"
67-
6869bind-key "o" display-popup -E -w 60% "zsh -c 'source $HOME/.zprofile; $HOME/scripts/create_new_repo_and_connect_with_sesh'"
6970
71+ # -d flag sets the starting directory of the popup to the current pane's path, required for these scripts to work correctly
72+ # -b flag adds rounded borders to the popup
73+ bind-key "m" display-popup -E -w 50% -b rounded -d "#{pane_current_path}" "zsh -ic 'source $HOME/.zprofile; $HOME/scripts/create_conventional_commit_ai_message'"
7074
75+ # Open developer tools in new tmux windows
7176bind-key "g" new-window -c "#{pane_current_path}" -n "😴 LazyGit" "lazygit 2> /dev/null"
7277bind-key "G" new-window -c "#{pane_current_path}" -n "⚙️ GitUI" "gitui 2> /dev/null"
7378bind-key "O" new-window -c "#{pane_current_path}" -n "😺 GitHub Dash" "gh dash 2> /dev/null"
You can’t perform that action at this time.
0 commit comments