Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


admin_grundlagen:tmux

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
admin_grundlagen:tmux [2018/03/09 15:43]
ingo_wichmann
admin_grundlagen:tmux [2023/08/07 16:18] (aktuell)
ingo_wichmann
Zeile 1: Zeile 1:
 +// [[tmux_en|page in english]] //
 +
 // tmux ist eine Alternative zu [[screen]] // // tmux ist eine Alternative zu [[screen]] //
  
Zeile 11: Zeile 13:
 | tmux-Sitzung in den Hintergrund schicken ​      | ''​Strg+b''​ ''​d''​ | | tmux-Sitzung in den Hintergrund schicken ​      | ''​Strg+b''​ ''​d''​ |
 | tmux-Sitzung in den Vordergrund holen          | ''​tmux attach''​ | | tmux-Sitzung in den Vordergrund holen          | ''​tmux attach''​ |
 +| shell beenden ​                                 | ''​Strg+d''​ |
 ^ Sitzungen (sessions) ​                          ^^ ^ Sitzungen (sessions) ​                          ^^
 | Benannte Sitzung ''​sitzung1''​ starten ​         | ''​tmux new -s sitzung1''​ | | Benannte Sitzung ''​sitzung1''​ starten ​         | ''​tmux new -s sitzung1''​ |
Zeile 19: Zeile 22:
 | zum nächsten Fenster wechseln ​                 | ''​Strg+b''​ ''​n''​ | | zum nächsten Fenster wechseln ​                 | ''​Strg+b''​ ''​n''​ |
 | zum vorherigen Fenster wechseln ​               | ''​Strg+b''​ ''​p''​ | | zum vorherigen Fenster wechseln ​               | ''​Strg+b''​ ''​p''​ |
 +| Aktuelles Fenster benennen ​                    | ''​Strg+b''​ '',''​ |
 | Fenster auflisten ​                             | ''​Strg+b''​ ''​w''​ | | Fenster auflisten ​                             | ''​Strg+b''​ ''​w''​ |
 | zum 4. Fenster springen ​                       | ''​Strg+b''​ ''​4''​ ([0..9]) ​ | | zum 4. Fenster springen ​                       | ''​Strg+b''​ ''​4''​ ([0..9]) ​ |
Zeile 24: Zeile 28:
 | Horizontal teilen ​                             | ''​Strg+b''​ ''​%%"​%%''​ | | Horizontal teilen ​                             | ''​Strg+b''​ ''​%%"​%%''​ |
 | Vertikal teilen ​                               | ''​Strg+b''​ ''​%''​ | | Vertikal teilen ​                               | ''​Strg+b''​ ''​%''​ |
-| zu anderem pane wechseln ​                      | ''​Strg+b''​ ''<​Cursor>''​ |+| zu anderem pane wechseln ​                      | ''​Strg+b''​ ''<​Pfeil>''​ |
 | aktuelles pane entfernen ​                      | ''​Strg+b''​ ''​x''​ | | aktuelles pane entfernen ​                      | ''​Strg+b''​ ''​x''​ |
-| Größe des aktuellen panes ändern ​              | ''​Strg+b''​ ''​Strg+<​Cursor>''​ |+| Größe des aktuellen panes ändern ​              | ''​Strg+b''​ ''​Strg+<​Pfeil>''​ |
 | aktuelles pane zu Vollbild und zurück (Zoom) ​  | ''​Strg+b''​ ''​z'' ​ | | aktuelles pane zu Vollbild und zurück (Zoom) ​  | ''​Strg+b''​ ''​z'' ​ |
 | alle panes vertikal gleich groß anordnen ​      | ''​Strg+b''​ ''​Alt+2''​ bzw.''​Strg+b''​ ''​ESC''​ ''​2''​ |  | alle panes vertikal gleich groß anordnen ​      | ''​Strg+b''​ ''​Alt+2''​ bzw.''​Strg+b''​ ''​ESC''​ ''​2''​ | 
 | alle panes horizontal gleich groß anordnen ​    | ''​Strg+b''​ ''​Alt+1''​ bzw.''​Strg+b''​ ''​ESC''​ ''​1''​ |  | alle panes horizontal gleich groß anordnen ​    | ''​Strg+b''​ ''​Alt+1''​ bzw.''​Strg+b''​ ''​ESC''​ ''​1''​ | 
 ^ scrollen ​                                      ^^ ^ scrollen ​                                      ^^
-| tmux Scrolling ​                                ​| ''​Strg+b ['' ​ | +| nach oben scrollen ​                            | ''​Strg+b''​ ''​Bild auf''​ | 
-| ausschalten ​                                   | ''​Strg+C'' ​ |+| tmux Scrolling ​einschalten ​                    | ''​Strg+b ['' ​ | 
 +tmux Scrolling ​ausschalten ​                    ​| ''​Strg+c'' ​ |
  
 ====== scrollen ====== ====== scrollen ======
Zeile 40: Zeile 45:
 set -g terminal-overrides '​xterm*:​smcup@:​rmcup@'​ set -g terminal-overrides '​xterm*:​smcup@:​rmcup@'​
 </​file>​ </​file>​
 +
 +====== Mausunterstützung ======
 +In tmux per Maus scrollen, Fenster wechseln, etc.:
 +<file raw ~/​.tmux.conf>​
 +# mouse support ​
 +set -g mouse on
 +</​file>​
 +
 +====== Reloading tmux config ======
 +If you have made changes to your tmux configuration file in the ~/​.tmux.conf file, 
 +it shouldn’t be necessary to start the server up again from scratch with kill-server. ​
 +Instead, you can prompt the current tmux session to reload the configuration with the source-file command.
 +
 +This can be done either from within tmux, by pressing Ctrl+B and then : to bring up a command prompt, and typing:
 +
 +<​file>​
 +:​source-file ~/​.tmux.conf
 +</​file>​
 +
 +Or simply from a shell:
 +
 +<​file>​
 +$ tmux source-file ~/​.tmux.conf
 +</​file>​
 +
 +This should apply your changes to the running tmux server without affecting the sessions or windows within them.
  
 ====== Distributed shell ====== ====== Distributed shell ======
-alle Fenster ​miteinander verbinden:+Eingabe in alle Fenster ​leiten:
   * ''<​Strg>​+b''​   * ''<​Strg>​+b''​
  
   :set synchronize-panes   :set synchronize-panes
-ausschalten:​+wieder ​ausschalten:​
   :set synchronize-panes off   :set synchronize-panes off
  
Zeile 60: Zeile 91:
   * https://​gist.github.com/​MohamedAlaa/​2961058   * https://​gist.github.com/​MohamedAlaa/​2961058
   * http://​man.openbsd.org/​OpenBSD-current/​man1/​tmux.1   * http://​man.openbsd.org/​OpenBSD-current/​man1/​tmux.1
 +  * https://​github.com/​tmuxinator/​tmuxinator
  
  
admin_grundlagen/tmux.1520610201.txt.gz · Zuletzt geändert: 2018/03/09 15:43 von ingo_wichmann