1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-26 07:15:03 +02:00

Removed Line numbers from bat

By adding org files I would want to change the config directory to also
enapsulate org files, I don't know if changing this directory would be
such that mkdocs breaks, it probably doesn't matter though because I
would sooner use dokuwiki or joplin for that.

It also means that I would need to index the ~/Notes directory and
ignore joplin as well as the wiki/
This commit is contained in:
Ryan Greenup
2020-11-15 16:43:21 +11:00
parent 56d0ce6332
commit 28e1defe5b

View File

@@ -121,7 +121,7 @@ NoteSearchRecoll () {
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 \
--preview "bat --color=always --line-range :500 \ --preview "bat --style grid --color=always --line-range :500 \
--terminal-width 80 --theme=TwoDark {+} \ --terminal-width 80 --theme=TwoDark {+} \
--italic-text=always \ --italic-text=always \
--decorations=always" \ --decorations=always" \