mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-01-17 12:48:35 +01:00
Added Org Files to Recoll Search
This commit is contained in:
parent
b89e0f5399
commit
56d0ce6332
@ -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 {}"
|
||||
# Better Theme
|
||||
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\ \"/ |\
|
||||
sed s+\$+\"\ --relative-to\ \"./\"+ | bash' \
|
||||
--bind pgup:preview-page-up,pgdn:preview-page-down \
|
||||
|
Loading…
x
Reference in New Issue
Block a user