summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md19
-rw-r--r--main.c4
-rw-r--r--wip_cbinkrc.txt4
3 files changed, 6 insertions, 21 deletions
diff --git a/README.md b/README.md
index caf41b4..c2067c8 100644
--- a/README.md
+++ b/README.md
@@ -18,20 +18,7 @@ executable in `~/.local/bin/cbink`, but you can override it with e.g.
`make install PREFIX="${HOME}"`), or just do `cc main.c -o cbink
-lncursesw`.
-## keyboard shortcuts
+## see also
-* `k` / `Up` --- up
-* `j` / `Down` -- down
-* `Space` / `PageDown` --- page down
-* `b` / `PageUp` --- page up
-* `d` / `Ctrl-D` --- half page down
-* `u` / `Ctrl-U` --- half page up
-* `g` / `Home` -- top of feed
-* `G` / `End` -- bottom of feed
-* `r` -- refresh feed
-* `c` -- create new post
-* `v` -- view post at top of window in `less(1)`
-* `e` -- edit post at top of window (must be yours)
-* `p` -- edit your profile picture (should be 3 lines by 7 columns)
-* `Tab` -- toggle visibility of profile pictures
-* `i` -- view profile of the top post's creator
+cbink has a built-in help screen (`?` key) with information on
+keyboard shortcuts, the configuration file format and location, etc.
diff --git a/main.c b/main.c
index 1fe4c2e..d89c37a 100644
--- a/main.c
+++ b/main.c
@@ -178,7 +178,7 @@ Options opt = {
.pfp = 1,
.pronouns = 1,
.date = 1,
- .datefmt = NULL
+ .datefmt = NULL,
},
.margin = {
.left = GFX_MARGIN_X,
@@ -728,6 +728,7 @@ const char *help_long =
" d/Ctrl-d half-page down\n"
" u/Ctrl-u half-page up\n"
"\n"
+
"CONFIGURATION\n"
"\n"
"~/.cbinkrc is an INI-style config file, with [sections], #comments, and key=value pairs.\n"
@@ -780,6 +781,7 @@ const char *help_long =
" msg.warn unsuccessful but correct\n"
" msg.err error occurred\n"
"\n"
+
"FILES\n"
"\n"
" ~/.cbinkrc\n"
diff --git a/wip_cbinkrc.txt b/wip_cbinkrc.txt
deleted file mode 100644
index 2fec3e1..0000000
--- a/wip_cbinkrc.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-# maybe just an extremely simple format like this
-
-pfp_vis 0
-margin.left 0