Open gytis-ivaskevicius opened 3 years ago
manix "" | rg -o '^# ([\w.-_'"'"']+)' -r '$1' | awk '!x[\$0]++' | fzf --ansi --preview="manix '{}' | sd 'type: ' '> type: ' | bat -l Markdown --color=always --plain"
addded | awk '!x[\$0]++'
for efficient deduplication
manix_hits="^# ([\w.-_']+)"
manix_preview="manix '{}' | sd 'type: ' '> type: ' | bat -l Markdown --color=always --plain"
alias mnix="manix '' | rg -o \"$manix_hits\" -r '\$1' | awk '!x[\$0]++' | fzf --ansi --preview=\"$manix_preview\""
Hey, great project but I have a little suggestion - Implement some sort of
type
highlighting. This is my current temp workaround:I am just adding the symbol
>
in front of the type. Seems to get the job done :)Thanks for this project, and good luck :+1: