Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 837 Bytes

fzf_surfraw.md

File metadata and controls

30 lines (21 loc) · 837 Bytes

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

1. requirements (depends on what u using)

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

fzf-surfraw() { surfraw "$(cat ~/.config/surfraw/bookmarks | sed '/^$/d' | sort -n | fzf -e)" ;}

3. for ~/.tmux.conf

bind-key -n 'C-\' new-window -n bookmarks -c $HOME \; \
    send-keys 'fzf-surfraw && tmux kill-window' 'Enter'

4. add bookmarks

nano ~/.config/surfraw/bookmarks

example:
linuxgotbletu	https://www.youtube.com/user/gotbletu/videos	#linux channel opensource

5. related video