@@ -261,26 +261,66 @@ That's all it takes to launch yourself into a tmux session.
261
261
this will rarely happen)
262
262
- tmux has not be launched yet at all.
263
263
264
- Tmux hotkeys
264
+ .. _Prefix key :
265
+
266
+ The prefix key
267
+ --------------
268
+
269
+ Tmux hot keys have to be pressed in a special way. **Read this
270
+ carefully **, then try it yourself.
271
+
272
+ First, you press the *prefix * key. This is ``C-b `` by default.
273
+
274
+ Release. Then pause. For less than second. Then type what's next.
275
+
276
+ ``C-b o `` means: Press ``Ctrl `` and ``b `` at the same time. Release,
277
+ Then press ``o ``.
278
+
279
+ **Remember, prefix + short cut! ** ``C `` is ``Ctrl `` key.
280
+
281
+ Session Name
265
282
------------
266
283
267
- .. note ::
284
+ Renaming
285
+ """"""""
286
+
287
+ **Command: ** ``$ tmux rename-session <session-name> ``
268
288
269
- The **prefix ** key is a known stumbling block for new tmux users,
270
- please pay attention!
289
+ **Short cut ** ``$ ``
271
290
272
- Tmux hot keys have to be pressed in a special way. ** Read this
273
- carefully **, then try it yourself.
291
+ Window Name
292
+ -----------
274
293
275
- First, you press the *prefix * key. This is ``C-b `` by default.
294
+ Rename
295
+ """"""
276
296
277
- Release. Then pause. For less than second. Then type what's next.
297
+ ** Command: ** `` $ tmux rename-window <window-name> ``
278
298
279
- ``C-b o `` means: Press ``Ctrl `` and ``b `` at the same time. Release,
280
- Then press ``o ``.
299
+ **Short cut ** ``, ``
281
300
282
301
283
- **Remember, prefix + short cut! **. ``C `` is ``Ctrl `` key.
302
+ Splitting windows into panes
303
+ ----------------------------
304
+
305
+ Tmux windows can be split into multiple panes.
306
+
307
+ =================== ====================================================
308
+ Short cut Action
309
+ ------------------- ----------------------------------------------------
310
+ ``% `` Split the current pane into two, left and right.
311
+ ``" `` Split the current pane into two, top and bottom.
312
+ =================== ====================================================
313
+
314
+
315
+ Reference
316
+ =========
317
+
318
+ Short cuts
319
+ ----------
320
+
321
+ .. tip ::
322
+
323
+ :ref: `Prefix key ` is pressed before a short cut!
284
324
285
325
=================== ====================================================
286
326
Short cut Action
@@ -340,13 +380,13 @@ Short cut Action
340
380
marker.
341
381
``C-Up, C-Down `` Resize the current pane in steps of one cell.
342
382
``C-Left, C-Right ``
343
-
344
383
``M-Up, M-Down `` Resize the current pane in steps of five cells.
345
384
``M-Left, M-Right ``
346
385
=================== ====================================================
347
386
348
387
Source: tmux manpage.
349
388
389
+
350
390
License
351
391
-------
352
392
0 commit comments