mirror of
https://github.com/mintycube/dotfiles.git
synced 2024-10-22 14:05:41 +02:00
Add lazygit mapping to lf
This commit is contained in:
parent
06de15ce6d
commit
31bc306f22
@ -75,6 +75,11 @@ cmd fzf_grep ${{
|
|||||||
fzf-grep "$f"
|
fzf-grep "$f"
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
cmd lazygit ${{
|
||||||
|
lazygit
|
||||||
|
}}
|
||||||
|
|
||||||
|
|
||||||
cmd live_sever ${{
|
cmd live_sever ${{
|
||||||
killall live-server; setsid -f live-server "$f"
|
killall live-server; setsid -f live-server "$f"
|
||||||
}}
|
}}
|
||||||
@ -175,7 +180,7 @@ map / :fzf_search
|
|||||||
map ? :fzf_grep
|
map ? :fzf_grep
|
||||||
map S live_server
|
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 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 gg top
|
||||||
map D delete
|
map D delete
|
||||||
map E extract
|
map E extract
|
||||||
|
Loading…
Reference in New Issue
Block a user