···11+comlink(1)
22+33+# NAME
44+55+comlink - an IRC client
66+77+# SYNOPSIS
88+99+*comlink* [options...]
1010+1111+# OPTIONS
1212+1313+*-v*, *--version*
1414+ Print the version and exit.
1515+1616+# CONFIGURATION
1717+1818+Comlink is configured using *lua 5.4*. A lua file defining the API for
1919+configuration should be available in _$PREFIX/share/comlink/lua/comlink.lua_.
2020+Configuration will be loaded from _$XDG_CONFIG_HOME/comlink/init.lua_. Local lua
2121+modules will be searched for within this directory. The search paths are:
2222+2323+```
2424+ $XDG_CONFIG_HOME/comlink/\*.lua
2525+ $XDG_CONFIG_HOME/comlink/lua/\*.lua
2626+ $XDG_CONFIG_HOME/comlink/lua/\*/init.lua
2727+```
2828+2929+The most simple configuration is
3030+3131+```
3232+ local comlink = require("comlink")
3333+ comlink.connect({
3434+ server = "chat.sr.ht",
3535+ user = "rockorager",
3636+ nick = "rockorager",
3737+ password = "password",
3838+ real_name = "Tim Culverhouse",
3939+ })
4040+```
4141+4242+# KEYBOARD SHORTCUTS
4343+4444+Many keyboard shortcuts may be configured in the configuration file. The
4545+shortcuts shown here are the defaults.
4646+4747+## NAVIGATION AND UI
4848+4949+*CTRL-C*
5050+ Quit comlink.
5151+5252+*ALT-UP*
5353+ Select the previous channel or buffer.
5454+5555+*ALT-DOWN*
5656+ Select the next channel or buffer.
5757+5858+*CTRL-L*
5959+ Redraw the entire screen.
6060+6161+*PAGE_UP*
6262+ Scroll the channel up 3 messages.
6363+6464+*PAGE_DOWN*
6565+ Scroll the channel down 3 messages.
6666+6767+*HOME*
6868+ Scroll the channel to the most recent message.
6969+7070+*TAB*
7171+ Open completion options for the last word in the input field. Cycle
7272+ through options when the completion menu is open.
7373+7474+*SHIFT-TAB*
7575+ If the compeletion menu is open, cycle through options.
7676+7777+7878+7979+## EDITING
8080+8181+*CTRL-A*
8282+ Move the cursor to the beginning of the input field.
8383+8484+*CTRL-E*, *END*
8585+ Move the cursor to the end of the input field.
8686+8787+*CTRL-B*
8888+ Move the cursor left one character.
8989+9090+*CTRL-F*
9191+ Move the cursor right one character.
9292+9393+*CTRL-K*
9494+ Delete from the cursor to the end of the input field.
9595+9696+*CTRL-U*
9797+ Delete from the cursor to the start of the input field.
9898+9999+*CTRL-D*
100100+ Delete the character after the cursor
101101+102102+*ALT-B*, *ALT-LEFT*
103103+ Move the cursor backwards one word.
104104+105105+*ALT-F*, *ALT-RIGHT*
106106+ Move the cursor forwards one word.
107107+108108+*CTRL-W*, *ALT-BACKSPACE*
109109+ Delete the word before the cursor.
110110+111111+*ALT-D*
112112+ Delete the word after the cursor.
113113+114114+*ENTER*
115115+ Send the text in the input field.
116116+117117+# AUTHORS
118118+119119+Maintained by Tim Culverhouse <tim@timculverhouse.com>. Source code available at
120120+https://git.sr.ht/~rockorager/comlink.