From 4f480460967ab1444607d36ba7534cf2fdbb1ab4 Mon Sep 17 00:00:00 2001 From: Arnie97 Date: Sun, 19 Apr 2015 10:54:26 +0800 Subject: [PATCH] Update tmux.html.markdown --- tmux.html.markdown | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/tmux.html.markdown b/tmux.html.markdown index 2ccb067a..700dce86 100644 --- a/tmux.html.markdown +++ b/tmux.html.markdown @@ -7,8 +7,7 @@ filename: LearnTmux.txt --- - -tmux is a terminal multiplexer: it enables a number of terminals +[tmux](http://tmux.sourceforge.net) is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background then later reattached. @@ -50,13 +49,15 @@ then later reattached. -a # Kill all sessions -a -t "#" # Kill all sessions but the target +``` -## Key Bindings +### Key Bindings -# The method of controlling an attached tmux session is via key -# combinations called 'Prefix' keys. +The method of controlling an attached tmux session is via key +combinations called 'Prefix' keys. +``` ---------------------------------------------------------------------- (C-b) = Ctrl + b # 'Prefix' combination required to use keybinds @@ -109,10 +110,9 @@ then later reattached. ### 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. - ``` # Example tmux.conf # 2014.10 @@ -236,8 +236,15 @@ set -g status-right "#[fg=green] | #[fg=white]#(tmux-mem-cpu-load)#[fg=green] | ``` -Tmux | Home
-Tmux Manual page
-Gentoo Wiki
-Archlinux Wiki
-Display CPU/MEM % in statusbar
+ +### References + +[Tmux | Home](http://tmux.sourceforge.net) + +[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)