summary refs log tree commit diff
path: root/catgirl.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-07 02:46:40 -0500
committerJune McEnroe <june@causal.agency>2020-02-07 02:46:40 -0500
commit4343f35f9c837444ce6edfede212b89dea422544 (patch)
tree159339a01ba0c93eef23a0fe064ed978b93569a4 /catgirl.1
parentDocument key bindings in manual (diff)
downloadcatgirl-4343f35f9c837444ce6edfede212b89dea422544.tar.gz
catgirl-4343f35f9c837444ce6edfede212b89dea422544.zip
Add key bindings for IRC formatting
Diffstat (limited to '')
-rw-r--r--catgirl.141
1 files changed, 41 insertions, 0 deletions
diff --git a/catgirl.1 b/catgirl.1
index 991f5b1..e746150 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -161,6 +161,47 @@ Insert a blank line in the window.
 Switch to window by number 0\(en9.
 .El
 .
+.Ss IRC Formatting
+.Bl -tag -width Ds -compact
+.It Ic C-z b
+Toggle bold.
+.It Ic C-z c
+Set or reset color.
+.It Ic C-z i
+Toggle italics.
+.It Ic C-z o
+Reset formatting.
+.It Ic C-z r
+Toggle reverse color.
+.It Ic C-z u
+Toggle underline.
+.El
+.
+.Pp
+To set colors, follow
+.Ic C-z c
+by one or two digits for the foreground color,
+optionally followed by a comma
+and one or two digits for the background color.
+To reset color, follow
+.Ic C-z c
+by a non-digit.
+.
+.Pp
+The color numbers are as follows:
+.Pp
+.Bl -column "99" "orange (dark yellow)" "15" "pink (light magenta)"
+.It \ 0 Ta white Ta \ 8 Ta yellow
+.It \ 1 Ta black Ta \ 9 Ta light green
+.It \ 2 Ta blue Ta 10 Ta cyan
+.It \ 3 Ta green Ta 11 Ta light cyan
+.It \ 4 Ta red Ta 12 Ta light blue
+.It \ 5 Ta brown (dark red) Ta 13 Ta pink (light magenta)
+.It \ 6 Ta magenta Ta 14 Ta gray
+.It \ 7 Ta orange (dark yellow) Ta 15 Ta light gray
+.It 99 Ta default
+.El
+.
 .Sh FILES
 .Bl -tag -width Ds
 .It Pa $XDG_CONFIG_DIRS/catgirl
019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe