mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-08-12 09:04:39 +02:00
Remove interactive and preview occurring simultaneous from broken skim
This commit is contained in:
@@ -106,7 +106,7 @@ SkimNotes () {
|
|||||||
# **** Skim with Grep
|
# **** Skim with Grep
|
||||||
SkimGrep () {
|
SkimGrep () {
|
||||||
|
|
||||||
sk --ansi -m -c 'rg -l -t markdown -t org -t txt --ignore-case "{}"' \
|
sk --ansi -m \
|
||||||
--preview "bat --style snip {} 2> /dev/null \
|
--preview "bat --style snip {} 2> /dev/null \
|
||||||
--color=always --line-range :500 \
|
--color=always --line-range :500 \
|
||||||
--terminal-width 80 \
|
--terminal-width 80 \
|
||||||
|
@@ -112,6 +112,8 @@ NoteSearchRecoll () {
|
|||||||
cd "${1}"
|
cd "${1}"
|
||||||
|
|
||||||
## Currently preview and command mode do not work together
|
## Currently preview and command mode do not work together
|
||||||
|
# sk -c "recoll -b -t -q ext:md OR ext:org '{}' | cut -c 8-" --preview 'cat {}' | xargs realpath
|
||||||
|
|
||||||
sk -i -c "recoll -b -t -q ext:md OR ext:org '{}' | cut -c 8-" | xargs realpath
|
sk -i -c "recoll -b -t -q ext:md OR ext:org '{}' | cut -c 8-" | xargs realpath
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Reference in New Issue
Block a user