From 28e1defe5b84e532cb580313a4edbe7701188e4e Mon Sep 17 00:00:00 2001 From: Ryan Greenup Date: Sun, 15 Nov 2020 16:43:21 +1100 Subject: [PATCH] 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/ --- bin/NoteRecollSearch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/NoteRecollSearch.sh b/bin/NoteRecollSearch.sh index 85dd3c4..d036ea0 100755 --- a/bin/NoteRecollSearch.sh +++ b/bin/NoteRecollSearch.sh @@ -121,7 +121,7 @@ NoteSearchRecoll () { cut -c 8- | sed s/^/realpath\ \"/ |\ sed s+\$+\"\ --relative-to\ \"./\"+ | bash' \ --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 {+} \ --italic-text=always \ --decorations=always" \