summaryrefslogtreecommitdiff
path: root/tmux101_print.cpp
diff options
context:
space:
mode:
authorjStmaX! <87650746+jstmaxlol@users.noreply.github.com>2025-08-20 16:10:28 +0200
committerGitHub <noreply@github.com>2025-08-20 16:10:28 +0200
commit0b670cd6b47b17f19dc9df2f0e43221d4c7e6738 (patch)
tree7e18caeda9e22237cc6680fab4691e8e8a452976 /tmux101_print.cpp
parented420b2f6188e48479329d8d5be4d06e61ceadfd (diff)
random utils in /usr/bin because dementia :e
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;
+}