mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-07-31 19:30:12 +02:00
Added Org Files to Recoll Search
This commit is contained in:
@@ -117,7 +117,7 @@ NoteSearchRecoll () {
|
|||||||
# sk -i -c 'recoll -b -t -q "ext:md" {} | cut -c 8- | sd '^' 'realpath "' | sd '$' '" --relative-to "./"' | bash ' --bind pgup:preview-page-up,pgdn:preview-page-down --preview "bat --color=always --line-range :500 --terminal-width 80 --theme=Dracula {}"
|
# sk -i -c 'recoll -b -t -q "ext:md" {} | cut -c 8- | sd '^' 'realpath "' | sd '$' '" --relative-to "./"' | bash ' --bind pgup:preview-page-up,pgdn:preview-page-down --preview "bat --color=always --line-range :500 --terminal-width 80 --theme=Dracula {}"
|
||||||
# Better Theme
|
# Better Theme
|
||||||
RelativePath () {
|
RelativePath () {
|
||||||
sk -m -i -c 'recoll -b -t -q "ext:md" {} |\
|
sk -m -i -c 'recoll -b -t -q "ext:md OR ext:org" {} |\
|
||||||
cut -c 8- | sed s/^/realpath\ \"/ |\
|
cut -c 8- | sed s/^/realpath\ \"/ |\
|
||||||
sed s+\$+\"\ --relative-to\ \"./\"+ | bash' \
|
sed s+\$+\"\ --relative-to\ \"./\"+ | bash' \
|
||||||
--bind pgup:preview-page-up,pgdn:preview-page-down \
|
--bind pgup:preview-page-up,pgdn:preview-page-down \
|
||||||
|
Reference in New Issue
Block a user