1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-20 12:51:29 +02:00

Switched to MDCat in Anticipation of Fix

This commit is contained in:
Ryan Greenup
2020-09-06 15:36:46 +10:00
parent 8f0b100157
commit 40a36d7f14
2 changed files with 2 additions and 5 deletions

View File

@@ -107,10 +107,7 @@ SkimNotes () {
SkimGrep () {
sk --ansi -m -c 'rg -l -t markdown --ignore-case "{}"' \
--preview "bat {} 2> /dev/null \
--color=always --line-range :500 \
--terminal-width 80 \
--theme=TwoDark |\
--preview "mdcat {} 2> /dev/null |\
rg --pretty --colors --context 20 {cq} \
--no-line-number --ignore-case \
--colors 'match:fg:21,39,200' \

View File

@@ -422,7 +422,7 @@ makeNewNote () {
echo -e "---\n" >> "${FILE}"
echo -e "# "${NAME}"" >> "${FILE}"
bat "${FILE}"
mdcat "${FILE}"
echo -e "Succesfully Created:\n "${FILE}""
nvim + "${FILE}"