docs/iamb.1
218 lines · 5912 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.It Sy ":room alias set [alias]"
134Create and point the given alias to the room.
135.It Sy ":room alias unset [alias]"
136Delete the provided alias from the room's alternative alias list.
137.It Sy ":room alias show"
138Show alternative aliases to the room, if any are set.
139.It Sy ":room canon set [alias]"
140Set the room's canonical alias to the one provided, and make the previous one an alternative alias.
141.It Sy ":room canon unset [alias]"
142Delete the room's canonical alias.
143.It Sy ":room canon show"
144Show the room's canonical alias, if any is set.
145.El
146
147.Sh "WINDOW COMMANDS"
148.Bl -tag -width Ds
149.It Sy ":horizontal [cmd]"
150Change the behaviour of the given command to be horizontal.
151.It Sy ":leftabove [cmd]"
152Change the behaviour of the given command to open before the current window.
153.It Sy ":only" , Sy ":on"
154Quit all but one window in the current tab.
155.It Sy ":quit" , Sy ":q"
156Quit a window.
157.It Sy ":quitall" , Sy ":qa"
158Quit all windows in the current tab.
159.It Sy ":resize"
160Resize a window.
161.It Sy ":rightbelow [cmd]"
162Change the behaviour of the given command to open after the current window.
163.It Sy ":split" , Sy ":sp"
164Horizontally split a window.
165.It Sy ":vertical [cmd]"
166Change the layout of the following command to be vertical.
167.It Sy ":vsplit" , Sy ":vsp"
168Vertically split a window.
169.El
170
171.Sh "TAB COMMANDS"
172.Bl -tag -width Ds
173.It Sy ":tab [cmd]"
174Run a command that opens a window in a new tab.
175.It Sy ":tabclose" , Sy ":tabc"
176Close a tab.
177.It Sy ":tabedit [room]" , Sy ":tabe"
178Open a room in a new tab.
179.It Sy ":tabrewind" , Sy ":tabr"
180Go to the first tab.
181.It Sy ":tablast" , Sy ":tabl"
182Go to the last tab.
183.It Sy ":tabnext" , Sy ":tabn"
184Go to the next tab.
185.It Sy ":tabonly" , Sy ":tabo"
186Close all but one tab.
187.It Sy ":tabprevious" , Sy ":tabp"
188Go to the preview tab.
189.El
190
191.Sh EXAMPLES
192.Ss Example 1: Starting with a specific profile
193To start with a profile named
194.Sy personal
195instead of the
196.Sy default_profile
197value:
198.Bd -literal -offset indent
199$ iamb -P personal
200.Ed
201.Ss Example 2: Using an alternate configuration directory
202By default,
203.Nm
204will use the XDG directories, but you may sometimes want to store
205your configuration elsewhere.
206.Bd -literal -offset indent
207$ iamb -C ~/src/iamb-dev/dev-config/
208.Ed
209.Sh "REPORTING BUGS"
210Please report bugs in
211.Nm
212or its manual pages at
213.Lk https://github.com/ulyssa/iamb/issues
214.Sh "SEE ALSO"
215.Xr iamb 5
216.Pp
217Extended documentation is available online at
218.Lk https://iamb.chat