Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 683 Bytes

fzf_locate_fzf_playonlinux.md

File metadata and controls

23 lines (15 loc) · 683 Bytes

Notes for video: https://www.youtube.com/watch?v=AbveiTAymy0

1. requirements (depends on what u using)

2. for ~/.zshrc or ~/.bashrc

fzf-locate() { xdg-open "$(locate "*" | fzf -e)" ;}
fzf-playonlinux() { playonlinux --run '$(ls ~/.PlayOnLinux/shortcuts | fzf -e)' ;}

3. for ~/.tmux.conf

bind-key -n 'C-]' new-window -n playonlinux \; send-keys "fzf-playonlinux && tmux kill-window\n"
bind-key -n 'M-\' new-window -n locate \; send-keys "fzf-locate && tmux kill-window\n"

4. related video