summaryrefslogtreecommitdiff
path: root/internal/app/description.txt
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2025-03-26 17:28:58 -0400
committerGitHub <noreply@github.com>2025-03-26 17:28:58 -0400
commitd2fdcbc0d4f8b4c184ba2b1c3c4b00da3918521f (patch)
tree6f4ba628fffb5e6d84f2eaa756345d3307abab77 /internal/app/description.txt
parentcd9338e0d6cf582f9ea8028661ac3729e408f3bf (diff)
Stylish `--help` + generate manpages (#27)v1.3.7
* man page generation * generate VHS Gifs manually * goreleaser packages manpage
Diffstat (limited to 'internal/app/description.txt')
-rw-r--r--internal/app/description.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/internal/app/description.txt b/internal/app/description.txt
new file mode 100644
index 0000000..cf58bd6
--- /dev/null
+++ b/internal/app/description.txt
@@ -0,0 +1,23 @@
+Termpicker is a terminal-based application designed to help users select and manipulate colors efficiently. Its keybindings are meant to be intuitive to vim users as it behaves in a modal way:
+
+Normal mode:
+
+ - h,l: decrease/increase the current slider coarsely by 5%
+ - H,L: decrease/increase the current slider finely by 1
+ - j,k: select the slider below/above
+ - <Tab>,<S-Tab>: move to the next/previous tab
+ - f,b : copy the color as an ANSI foreground/background escape code
+ - x,r,s,c: copy the color as a hex, rgb, hsl, or cmyk value
+ - ?: expand/shrink the help menu
+ - i,<cmd>: enter Insert mode
+ - q,<C-c>: quit the application
+
+Insert mode:
+
+ Manually type a color. Pressing will cancel/leave insert mode. Anything in
+ the following formats will be used as a color input when pressing enter:
+
+ - Hex: #rrggbb
+ - RGB: rgb( r, g, b)
+ - CMYK: cmyk(c, m, y, k)
+ - HSL: hsl(h, s, l)