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:
@@ -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' \
|
||||
|
@@ -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}"
|
||||
|
||||
|
Reference in New Issue
Block a user