โ– humdrum codex / glint v1.0.2
license AGPL-3.0
2.3 KB raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Package help holds glint's single source of truth for the keybind and command
// reference, shared by the CLI (glint -h) and the in-editor help overlay.
package help

// Text is the full reference printed by `glint -h` and shown in the Ctrl+/
// overlay inside the editor.
const Text = `glint โ€” a modeless terminal markdown editor

USAGE
  glint [file]          open a file, or the fuzzy picker when no file is given
  glint <command>

COMMANDS  (each takes a short letter or the full word, one or two dashes:
           -n / --n / -new / --new all work)
  -n, --new [name]      new note in the current directory
                        combine with -i or -v to target the inbox or vault
  -t, --today           open today's daily note (in the vault)
  -d, --daily           browse the daily-notes folder
  -v, --vault           fuzzy picker over your vault, from anywhere
  -i, --inbox           fuzzy picker over your inbox
  -c, --config          interactive setup walkthrough (writes the config file)
  -h, --help            show this help
      --version         print the version

EDITOR KEYS
  Enter (on a list)     continue the list marker (numbers increment, checkboxes
                        reset); Enter on an empty item exits the list
  Tab / Shift+Tab       indent / outdent the current list item
  Ctrl+S                save (an unnamed buffer prompts for a name)
  Ctrl+P                toggle the read preview
  Ctrl+F                fuzzy file picker
  Ctrl+G                find in document (Enter/down next, Shift+Tab/up prev)
  Ctrl+D                today's daily note
  Ctrl+N                new note in the current directory
  Ctrl+B                new note in the inbox
  Ctrl+T                cycle theme (flexoki-light / flexoki-dark / charm)
  Ctrl+C / Ctrl+X / Ctrl+V   copy / cut / paste (system clipboard)
  Shift+arrows          select text (Ctrl+Shift+left/right by word)
  Alt+left / Alt+right  move by word
  Ctrl+U / Ctrl+K       delete to start / end of line
  Ctrl+W                delete the word before the cursor
  Ctrl+Z / Ctrl+Y       undo / redo
  Ctrl+/                toggle this help overlay
  Ctrl+Q                quit (press twice if there are unsaved changes)
  Esc                   back to the editor

CONFIG
  ~/.config/glint/config.toml   (run 'glint -c' to set it up)
`