aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zk
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-07-11 15:57:36 -0500
committerToby Vincent <tobyv13@gmail.com>2023-07-11 15:57:36 -0500
commit81695024698f3e15bad64bf0d482179393551cda (patch)
tree915e4d560510b197b261cb9ad5beddf753529d2b /zk
parent1c07314760639816d19ea71893186d8ef28967d8 (diff)
fix(zk): sort entries by mtime
Diffstat (limited to 'zk')
-rwxr-xr-xzk/.local/bin/zkf2
1 files changed, 1 insertions, 1 deletions
diff --git a/zk/.local/bin/zkf b/zk/.local/bin/zkf
index 12a957a..c33e4f7 100755
--- a/zk/.local/bin/zkf
+++ b/zk/.local/bin/zkf
@@ -3,7 +3,7 @@
if [ "$#" -eq 0 ]; then
set -- "$(
rg '^# (.*)$' "$ZK_NOTEBOOK_DIR" --type=markdown --max-count=1 --vimgrep --replace '$1' \
- --no-line-number --no-column |
+ --no-line-number --no-column --sort=modified |
fzf-tmux "$FZF_TMUX_OPTS" -- --tac --print-query -d: --with-nth -1 \
--bind 'focus:transform-header(echo {1})' \
--preview-window='right,100,<100(up,75%,border-bottom)' \