Add lazygit mapping to lf

This commit is contained in:
mintycube 2024-04-23 08:41:37 +05:00
parent 06de15ce6d
commit 31bc306f22

View File

@ -75,6 +75,11 @@ cmd fzf_grep ${{
fzf-grep "$f"
}}
cmd lazygit ${{
lazygit
}}
cmd live_sever ${{
killall live-server; setsid -f live-server "$f"
}}
@ -175,7 +180,7 @@ map / :fzf_search
map ? :fzf_grep
map S live_server
map J $lf -remote "send $id cd $(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf)"
map gh
map gh lazygit
map gg top
map D delete
map E extract