summaryrefslogtreecommitdiff
path: root/tmux101_print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tmux101_print.cpp')
-rw-r--r--tmux101_print.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tmux101_print.cpp b/tmux101_print.cpp
new file mode 100644
index 0000000..14dc0ac
--- /dev/null
+++ b/tmux101_print.cpp
@@ -0,0 +1,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;
+}