docs/iamb.1
206 lines · 5375 bytes
1.\" iamb(1) manual page
2.\"
3.\" This manual page is written using the mdoc(7) macros. For more
4.\" information, see <https://manpages.bsd.lv/mdoc.html>.
5.\"
6.\" You can preview this file with:
7.\" $ man ./docs/iamb.1
8.Dd Mar 24, 2024
9.Dt IAMB 1
10.Os
11.Sh NAME
12.Nm iamb
13.Nd a terminal-based client for Matrix for the Vim addict
14.Sh SYNOPSIS
15.Nm
16.Op Fl hV
17.Op Fl P Ar profile
18.Op Fl C Ar dir
19.Sh DESCRIPTION
20.Nm
21is a client for the Matrix communication protocol.
22It provides a terminal user interface with familiar Vim keybindings, and
23includes support for multiple profiles, threads, spaces, notifications,
24reactions, custom keybindings, and more.
25.Pp
26This manual page includes a quick rundown of the available commands in
27.Nm .
28For example usage and a full description of each one and its arguments, please
29refer to the full documentation online.
30.Sh OPTIONS
31.Bl -tag -width Ds
32.It Fl P , Fl Fl profile
33The profile to start
34.Nm
35with.
36If this flag is not specified,
37then it defaults to using
38.Sy default_profile
39(see
40.Xr iamb 5 ) .
41.It Fl C , Fl Fl config-directory
42Path to the directory the configuration file is located in.
43.It Fl h , Fl Fl help
44Show the help text and quit.
45.It Fl V , Fl Fl version
46Show the current
47.Nm
48version and quit.
49.El
50
51.Sh "GENERAL COMMANDS"
52.Bl -tag -width Ds
53.It Sy ":chats"
54View a list of joined rooms and direct messages.
55.It Sy ":dms"
56View a list of direct messages.
57.It Sy ":logout"
58Log out of
59.Nm .
60.It Sy ":rooms"
61View a list of joined rooms.
62.It Sy ":spaces"
63View a list of joined spaces.
64.It Sy ":welcome"
65View the startup Welcome window.
66.El
67
68.Sh "E2EE COMMANDS"
69.Bl -tag -width Ds
70.It Sy ":keys export [path] [passphrase]"
71Export and encrypt keys to
72.Pa path .
73.It Sy ":keys import [path] [passphrase]"
74Import and decrypt keys from
75.Pa path .
76.It Sy ":verify"
77View a list of ongoing E2EE verifications.
78.El
79
80.Sh "MESSAGE COMMANDS"
81.Bl -tag -width Ds
82.It Sy ":download"
83Download an attachment from the selected message.
84.It Sy ":edit"
85Edit the selected message.
86.It Sy ":editor"
87Open an external
88.Ev $EDITOR
89to compose a message.
90.It Sy ":open"
91Download and then open an attachment, or open a link in a message.
92.It Sy ":react [shortcode]"
93React to the selected message with an Emoji.
94.It Sy ":redact [reason]"
95Redact the selected message.
96.It Sy ":reply"
97Reply to the selected message.
98.It Sy ":unreact [shortcode]"
99Remove your reaction from the selected message.
100When no arguments are given, remove all of your reactions from the message.
101.It Sy ":upload"
102Upload an attachment and send it to the currently selected room.
103.El
104
105.Sh "ROOM COMMANDS"
106.Bl -tag -width Ds
107.It Sy ":create"
108Create a new room.
109.It Sy ":invite accept"
110Accept an invitation to the currently focused room.
111.It Sy ":invite reject"
112Reject an invitation to the currently focused room.
113.It Sy ":invite send [user]"
114Send an invitation to a user to join the currently focused room.
115.It Sy ":join [room]"
116Join a room.
117.It Sy ":leave"
118Leave the currently focused room.
119.It Sy ":members"
120View a list of members of the currently focused room.
121.It Sy ":room name set [name]"
122Set the name of the currently focused room.
123.It Sy ":room name unset"
124Unset the name of the currently focused room.
125.It Sy ":room tag set [tag]"
126Add a tag to the currently focused room.
127.It Sy ":room tag unset [tag]"
128Remove a tag from the currently focused room.
129.It Sy ":room topic set [topic]"
130Set the topic of the currently focused room.
131.It Sy ":room topic unset"
132Unset the topic of the currently focused room.
133.El
134
135.Sh "WINDOW COMMANDS"
136.Bl -tag -width Ds
137.It Sy ":horizontal [cmd]"
138Change the behaviour of the given command to be horizontal.
139.It Sy ":leftabove [cmd]"
140Change the behaviour of the given command to open before the current window.
141.It Sy ":only" , Sy ":on"
142Quit all but one window in the current tab.
143.It Sy ":quit" , Sy ":q"
144Quit a window.
145.It Sy ":quitall" , Sy ":qa"
146Quit all windows in the current tab.
147.It Sy ":resize"
148Resize a window.
149.It Sy ":rightbelow [cmd]"
150Change the behaviour of the given command to open after the current window.
151.It Sy ":split" , Sy ":sp"
152Horizontally split a window.
153.It Sy ":vertical [cmd]"
154Change the layout of the following command to be vertical.
155.It Sy ":vsplit" , Sy ":vsp"
156Vertically split a window.
157.El
158
159.Sh "TAB COMMANDS"
160.Bl -tag -width Ds
161.It Sy ":tab [cmd]"
162Run a command that opens a window in a new tab.
163.It Sy ":tabclose" , Sy ":tabc"
164Close a tab.
165.It Sy ":tabedit [room]" , Sy ":tabe"
166Open a room in a new tab.
167.It Sy ":tabrewind" , Sy ":tabr"
168Go to the first tab.
169.It Sy ":tablast" , Sy ":tabl"
170Go to the last tab.
171.It Sy ":tabnext" , Sy ":tabn"
172Go to the next tab.
173.It Sy ":tabonly" , Sy ":tabo"
174Close all but one tab.
175.It Sy ":tabprevious" , Sy ":tabp"
176Go to the preview tab.
177.El
178
179.Sh EXAMPLES
180.Ss Example 1: Starting with a specific profile
181To start with a profile named
182.Sy personal
183instead of the
184.Sy default_profile
185value:
186.Bd -literal -offset indent
187$ iamb -P personal
188.Ed
189.Ss Example 2: Using an alternate configuration directory
190By default,
191.Nm
192will use the XDG directories, but you may sometimes want to store
193your configuration elsewhere.
194.Bd -literal -offset indent
195$ iamb -C ~/src/iamb-dev/dev-config/
196.Ed
197.Sh "REPORTING BUGS"
198Please report bugs in
199.Nm
200or its manual pages at
201.Lk https://github.com/ulyssa/iamb/issues
202.Sh "SEE ALSO"
203.Xr iamb 5
204.Pp
205Extended documentation is available online at
206.Lk https://iamb.chat