@@ -239,7 +239,7 @@ If **compiling from source**, the dependencies are
239
239
240
240
### Start a new session
241
241
242
- ``` bash
242
+ ``` console
243
243
$ tmux
244
244
```
245
245
@@ -281,7 +281,7 @@ press `o`.
281
281
282
282
Sessions can be _ named upon creation_ .
283
283
284
- ``` bash
284
+ ``` console
285
285
$ tmux new-session [-s session-name]
286
286
```
287
287
@@ -301,7 +301,7 @@ Short cut ``Prefix`` + ``$``
301
301
302
302
Windows can be _ named upon creation_ .
303
303
304
- ``` bash
304
+ ``` console
305
305
$ tmux new-window [-n window-name]
306
306
```
307
307
@@ -335,25 +335,25 @@ Short cut ``Prefix`` + ``c``
335
335
336
336
By number
337
337
338
- ``` bash
338
+ ``` console
339
339
$ tmux select-window
340
340
```
341
341
342
342
Next
343
343
344
- ``` bash
344
+ ``` console
345
345
$ tmux next-window
346
346
```
347
347
348
348
Previous
349
349
350
- ``` bash
350
+ ``` console
351
351
$ tmux previous-window
352
352
```
353
353
354
354
Last-window
355
355
356
- ``` bash
356
+ ``` console
357
357
$ tmux last-window
358
358
```
359
359
@@ -370,13 +370,13 @@ $ tmux last-window
370
370
371
371
Move window
372
372
373
- ``` bash
373
+ ``` console
374
374
$ tmux move-window [-t dst-window]
375
375
```
376
376
377
377
Swap the window
378
378
379
- ``` bash
379
+ ``` console
380
380
$ tmux swap-window [-t dst-window]
381
381
```
382
382
@@ -386,7 +386,7 @@ $ tmux swap-window [-t dst-window]
386
386
387
387
### Move panes
388
388
389
- ``` bash
389
+ ``` console
390
390
$ tmux move-pane [-t dst-pane]
391
391
```
392
392
@@ -400,11 +400,11 @@ $ tmux move-pane [-t dst-pane]
400
400
401
401
Shortcut to move between panes.
402
402
403
- ``` bash
403
+ ``` console
404
404
$ tmux last-window
405
405
```
406
406
407
- ``` bash
407
+ ``` console
408
408
$ tmux next-window
409
409
```
410
410
@@ -423,7 +423,7 @@ Recipe: tmux conf to `hjkl` commands, add this to your `~/.tmux.conf`:
423
423
424
424
### Kill window
425
425
426
- ``` bash
426
+ ``` console
427
427
$ tmux kill-window [-t target-window]
428
428
```
429
429
@@ -433,7 +433,7 @@ $ tmux kill-window [-t target-window]
433
433
434
434
### Kill pane
435
435
436
- ``` bash
436
+ ``` console
437
437
$ tmux kill-pane [-t target-pane]
438
438
```
439
439
@@ -443,7 +443,7 @@ $ tmux kill-pane [-t target-pane]
443
443
444
444
### Splitting windows into panes
445
445
446
- ``` bash
446
+ ``` console
447
447
$ tmux split-window [-c start-directory] < shell-command>
448
448
```
449
449
@@ -577,7 +577,7 @@ Source: tmux manpage[1].
577
577
578
578
To get the text documentation of a ` .1 ` manual file:
579
579
580
- ``` bash
580
+ ``` console
581
581
$ nroff -mdoc tmux.1| less
582
582
```
583
583
0 commit comments