From 81695024698f3e15bad64bf0d482179393551cda Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 11 Jul 2023 15:57:36 -0500 Subject: fix(zk): sort entries by mtime --- zk/.local/bin/zkf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zk') 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)' \ -- cgit v1.2.3-70-g09d2