summaryrefslogtreecommitdiff
path: root/tmux101_print.cpp
blob: 14dc0ac86f7980faa0ec7c02e09c66921e1f2ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>
#include <escape.ansi>

int main() {
	std::cout
	<< "[ "<<red<<"TMUX 101 - Terminal MUltipleXer 101 "<<def<<"]\n"

	<< "[ "<<red<<"Basics "<<def<<"]\n"
	<< "> ^b   		   -> Enter command mode ("<<yellow<<"ESC in VIM talk"<<def<<")\n"
	<< "[ "<<red<<"Sessions "<<def<<"]\n"
	<< "> ^b^c 		   -> Open a new sesh\n"
	<< "> ^b^& 		   -> Exit focused sesh (Same as 'exit' command)\n"
	<< "[ "<<red<<"Layout control "<<def<<"]\n"
	<< "> ^b^n           -> Goes to next window\n"
	<< "> ^b^p           -> Goes to previous window\n"
	<< "> ^b^%           -> Horizontal split\n"
	<< "> ^b^' / ^b^("<<yellow<<"S"<<def<<"') -> Vertical split  \n"
	<< "> ^b("<<yellow<<"*ArrowKey"<<def<<")  -> Switch between panes\n"
	; return 0;
}