diff options
| author | wrmr | 2025-10-21 16:22:56 -0400 |
|---|---|---|
| committer | wrmr | 2025-10-21 16:23:29 -0400 |
| commit | 6473fe762df6434a4a8ea3a8675922b7bbdca66d (patch) | |
| tree | b5075768010749e3b5e21fc6bf4f21892ffa6946 | |
| parent | e33b2c4b63a7b311a8c3d7d9118151f7db24b363 (diff) | |
clean up
| -rw-r--r-- | README.md | 19 | ||||
| -rw-r--r-- | main.c | 4 | ||||
| -rw-r--r-- | wip_cbinkrc.txt | 4 |
3 files changed, 6 insertions, 21 deletions
@@ -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. @@ -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 |
