Integrate project search into sesh
This commit is contained in:
parent
207f3c5dfe
commit
8cf81b219a
2 changed files with 2 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ bind-key "s" run-shell "sesh connect \"$(
|
|||
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t --icons)' \
|
||||
--bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c --icons)' \
|
||||
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z --icons)' \
|
||||
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
|
||||
--bind 'ctrl-f:change-prompt(🔎 )+reload(find_projects)' \
|
||||
--bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡ )+reload(sesh list --icons)' \
|
||||
--preview-window 'right:55%' \
|
||||
--preview 'sesh preview {}'
|
||||
|
|
|
|||
1
private_dot_local/bin/executable_find_projects.tmpl
Normal file
1
private_dot_local/bin/executable_find_projects.tmpl
Normal file
|
|
@ -0,0 +1 @@
|
|||
fd -H -d 7 -t d -E .git -E .gitlab . "{{ .projectdir }}" | awk '{ print length, $0 }' | sort -n | cut -d' ' -f2-
|
||||
Loading…
Add table
Add a link
Reference in a new issue