mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Merge pull request #1042 from Arnie97/patch-1
[tmux/en] replace html tags with markdown
This commit is contained in:
commit
4d1bc86b4e
@ -7,8 +7,8 @@ filename: LearnTmux.txt
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
<a href="http://tmux.sourceforge.net/">
|
[tmux](http://tmux.sourceforge.net)
|
||||||
tmux</a> is a terminal multiplexer: it enables a number of terminals
|
is a terminal multiplexer: it enables a number of terminals
|
||||||
to be created, accessed, and controlled from a single screen. tmux
|
to be created, accessed, and controlled from a single screen. tmux
|
||||||
may be detached from a screen and continue running in the background
|
may be detached from a screen and continue running in the background
|
||||||
then later reattached.
|
then later reattached.
|
||||||
@ -50,13 +50,15 @@ then later reattached.
|
|||||||
-a # Kill all sessions
|
-a # Kill all sessions
|
||||||
-a -t "#" # Kill all sessions but the target
|
-a -t "#" # Kill all sessions but the target
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Key Bindings
|
### Key Bindings
|
||||||
|
|
||||||
# The method of controlling an attached tmux session is via key
|
The method of controlling an attached tmux session is via key
|
||||||
# combinations called 'Prefix' keys.
|
combinations called 'Prefix' keys.
|
||||||
|
|
||||||
|
```
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
(C-b) = Ctrl + b # 'Prefix' combination required to use keybinds
|
(C-b) = Ctrl + b # 'Prefix' combination required to use keybinds
|
||||||
|
|
||||||
@ -109,10 +111,9 @@ then later reattached.
|
|||||||
|
|
||||||
### Configuring ~/.tmux.conf
|
### Configuring ~/.tmux.conf
|
||||||
|
|
||||||
tmux.conf can be used to set options automatically on start up, much
|
tmux.conf can be used to set options automatically on start up, much
|
||||||
like how .vimrc or init.el are used.
|
like how .vimrc or init.el are used.
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
# Example tmux.conf
|
# Example tmux.conf
|
||||||
# 2014.10
|
# 2014.10
|
||||||
@ -236,8 +237,15 @@ set -g status-right "#[fg=green] | #[fg=white]#(tmux-mem-cpu-load)#[fg=green] |
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
<a href="http://tmux.sourceforge.net/">Tmux | Home</a><br>
|
|
||||||
<a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/tmux.1?query=tmux">Tmux Manual page</a><br>
|
### References
|
||||||
<a href="http://wiki.gentoo.org/wiki/Tmux">Gentoo Wiki</a><br>
|
|
||||||
<a href="https://wiki.archlinux.org/index.php/Tmux">Archlinux Wiki</a><br>
|
[Tmux | Home](http://tmux.sourceforge.net)
|
||||||
<a href="https://stackoverflow.com/questions/11558907/is-there-a-better-way-to-display-cpu-usage-in-tmux">Display CPU/MEM % in statusbar</a><br>
|
|
||||||
|
[Tmux Manual page](http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/tmux.1?query=tmux)
|
||||||
|
|
||||||
|
[Gentoo Wiki](http://wiki.gentoo.org/wiki/Tmux)
|
||||||
|
|
||||||
|
[Archlinux Wiki](https://wiki.archlinux.org/index.php/Tmux)
|
||||||
|
|
||||||
|
[Display CPU/MEM % in statusbar](https://stackoverflow.com/questions/11558907/is-there-a-better-way-to-display-cpu-usage-in-tmux)
|
||||||
|
Loading…
Reference in New Issue
Block a user