Rundown: info

Find info page on a topic

1topic=color
2info --apropos="${topic}"

Search inside the sed info page on writing to a file

1term=write
2page=sed
3info "${page}" --index-search="${term}"

Convert an info page to text

1page=sed
2info "${page}" --subnodes --output -

Read info files with vim

1info () 
2{ 
3    [ -n "$1" ] && file="${1}" || file="$(ls /usr/share/info/ | sed 's/\.info.gz$//' | fzf )";
4    file="$(ls /usr/share/info/"$file"* | fzf -1 )"
5    vim "$file"
6}