3 ms·
I use it for browsing documentation and code files, e.g. to browse syscall manpages: apropos -s 2 '.*' | fzf --height=100% --preview-window=down:wrap --preview
by vcdimension 5y ago
I use it for browsing documentation and code files, e.g. to browse syscall manpages:
apropos -s 2 '.*' | fzf --height=100% --preview-window=down:wrap --preview='man -s 2 {1}' --bind='alt-v:execute(man -s 2 {1}),enter:execute(man -s 2 {1})'
You can also use it with rlwrap for browsing commandline history of arbitrary REPLs (https://github.com/hanslub42/rlwrap/blob/fb60c9aa7579d6b68f2ea70bcf590818eba9b7c7/filters/handle_hotkeys.py https://github.com/hanslub42/rlwrap/blob/fb60c9aa7579d6b68f2...)