feat: view source

This commit is contained in:
2025-07-03 11:52:36 +02:00
parent aeff8a3679
commit e954569d5d
2 changed files with 9 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ In addition, there are the following keybindings:
| `ctrl-x` | Toggle task completion |
| `alt-up` | Increase task priority |
| `alt-down` | Decrease task priority |
| `alt-v` | View bare iCalendar file |
| `alt-0` | Default view: Journal, notes, and _open_ tasks |
| `alt-1` | Display journal entries |
| `alt-2` | Display notes |
@@ -91,6 +92,10 @@ In addition, there are the following keybindings:
You may also invoke the script with `--help` to see further command-line options.
Git support
-----------
You can track your entries with `git` by simply running `fzf-vjour --git-init`.
Limitations
-----------
Here is a list of some currently present limitations.

View File

@@ -68,7 +68,7 @@ while true; do
--print-query \
--accept-nth=4 \
--preview="$0 --preview {4}" \
--expect="ctrl-n,ctrl-alt-d" \
--expect="ctrl-n,ctrl-alt-d,alt-v" \
--bind="ctrl-r:reload($0 --reload)" \
--bind="ctrl-x:reload($0 --reload --toggle-completed {4})" \
--bind="alt-up:reload($0 --reload --change-priority '+1' {4})" \
@@ -104,6 +104,9 @@ while true; do
"ctrl-alt-d")
__delete "$file"
;;
"alt-v")
$EDITOR "$file"
;;
*)
__edit "$file"
;;