1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-09 07:36:35 +02:00

Simplified NoteFind to fix broken search

This commit is contained in:
ryangreenup
2021-04-09 20:24:41 +10:00
parent a797617a95
commit c84a67189b

View File

@@ -138,5 +138,17 @@ sk --ansi -m -c 'rg -l -t markdown -t org -t txt --ignore-case "{}"' \
}
# **** Skim with Grep
SkimGrep () {
fd '.*\.md$|.*\.org$' '/home/ryan/Notes/MD/' -L |\
sk --ansi -m --preview "bat \
--style snip {} 2> /dev/null \
--color=always \
--terminal-width 80"
}
# * Call Main Function
main "${@}"