<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>tmux on Ben&#39;s ideas and projects</title>
    <link>https://ben.the-collective.net/tags/tmux/</link>
    <description>Recent content in tmux on Ben&#39;s ideas and projects</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>locutus@the-collective.net (Ben Mason)</managingEditor>
    <webMaster>locutus@the-collective.net (Ben Mason)</webMaster>
    <copyright>©2022, All Rights Reserved</copyright>
    <lastBuildDate>Sun, 08 Jul 2018 12:06:52 -0400</lastBuildDate>
    <sy:updatePeriod>daily</sy:updatePeriod>
    
        <atom:link href="https://ben.the-collective.net/tags/tmux/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>tmux Notes</title>
        <link>https://ben.the-collective.net/my-notes/tmux-notes/</link>
        <pubDate>Sun, 08 Jul 2018 12:06:52 -0400</pubDate>
        <author>locutus@the-collective.net (Ben Mason)</author>
        <atom:modified>Sun, 08 Jul 2018 12:06:52 -0400</atom:modified>
        <guid>https://ben.the-collective.net/my-notes/tmux-notes/</guid>
        <description>tmux Notes https://tmuxcheatsheet.com/
Structure Client \-- Session +-- Window 0 | |-- Pane 0 | |-- Pane 1 +-- Window 1 |-- Pane 0 Sessions Create session
tmux new -s &amp;lt;name&amp;gt;
Detach
Ctrl-b d
Show sessions
tmux ls
Attach to session
tmux attach -t 0
Rename session
tmux rename-session -t &amp;lt;session number or name&amp;gt; &amp;lt;session number or name&amp;gt;
Kill session
tmux kill-session -t &amp;lt;session number or name&amp;gt;
Ctrl-b $ Rename Current session</description>
        <content:encoded>&lt;h1 id=&#34;tmux-notes&#34;&gt;tmux Notes&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;https://tmuxcheatsheet.com/&#34;&gt;https://tmuxcheatsheet.com/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;structure&#34;&gt;Structure&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Client
    \-- Session
        +-- Window 0
        |    |-- Pane 0
        |    |-- Pane 1 
        +-- Window 1
             |-- Pane 0
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;sessions&#34;&gt;Sessions&lt;/h2&gt;
&lt;p&gt;Create session&lt;br /&gt;
&lt;code&gt;tmux new -s &amp;lt;name&amp;gt;&lt;/code&gt;&lt;br /&gt;
Detach&lt;br /&gt;
&lt;code&gt;Ctrl-b d&lt;/code&gt;&lt;br /&gt;
Show sessions&lt;br /&gt;
&lt;code&gt;tmux ls&lt;/code&gt;&lt;br /&gt;
Attach to session&lt;br /&gt;
&lt;code&gt;tmux attach -t 0&lt;/code&gt;&lt;br /&gt;
Rename session&lt;br /&gt;
&lt;code&gt;tmux rename-session -t &amp;lt;session number or name&amp;gt; &amp;lt;session number or name&amp;gt;&lt;/code&gt;&lt;br /&gt;
Kill session&lt;br /&gt;
&lt;code&gt;tmux kill-session -t &amp;lt;session number or name&amp;gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Ctrl-b $&lt;/code&gt; Rename Current session&lt;br /&gt;
&lt;code&gt;Ctrl-b w&lt;/code&gt; List windows and Sessions&lt;/p&gt;
&lt;h2 id=&#34;windows&#34;&gt;Windows&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;Ctrl-b c&lt;/code&gt; Create Window&lt;br /&gt;
&lt;code&gt;Ctrl-b n&lt;/code&gt; Switch to next window&lt;br /&gt;
&lt;code&gt;Ctrl-b p&lt;/code&gt; Switch to previous window\&lt;br /&gt;
&lt;code&gt;Ctrl-b &amp;lt;number&amp;gt;&lt;/code&gt; Switch to specific window&lt;br /&gt;
&lt;code&gt;Ctrl-b ,&lt;/code&gt; Rename current window&lt;/p&gt;
&lt;h2 id=&#34;window-panes&#34;&gt;Window Panes&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;Ctrl+b &amp;quot;&lt;/code&gt; — split pane horizontally.&lt;br /&gt;
&lt;code&gt;Ctrl+b %&lt;/code&gt; — split pane vertically.&lt;br /&gt;
&lt;code&gt;Ctrl+b !&lt;/code&gt; – Move Pane to New Window&lt;br /&gt;
&lt;code&gt;Ctrl+b ;&lt;/code&gt; Change to last active Pane&lt;br /&gt;
&lt;code&gt;Ctrl+b z&lt;/code&gt; – Zoom (fullscreen) current pane&lt;br /&gt;
&lt;code&gt;Ctrl+b { | }&lt;/code&gt; – change Pane order&lt;br /&gt;
&lt;code&gt;Ctrl+b Spacebar&lt;/code&gt; – Toggle layouts&lt;br /&gt;
&lt;code&gt;Ctrl+x&lt;/code&gt; – kill pane&lt;/p&gt;
&lt;p&gt;&lt;code&gt;:#&lt;/code&gt; – references a specific window ie window 0 is &lt;code&gt;:0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Ctrl+b arrow key&lt;/code&gt; — switch pane.&lt;br /&gt;
&lt;code&gt;Hold Ctrl+b&lt;/code&gt;, don’t release it and hold one of the arrow keys — resize pane.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;:setw synchronize-panes&lt;/code&gt; – send output to all panes&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;:resize-pane -D (Resizes the current pane down)
:resize-pane -U (Resizes the current pane upward)
:resize-pane -L (Resizes the current pane left)
:resize-pane -R (Resizes the current pane right)
:resize-pane -D 10 (Resizes the current pane down by 10 cells)
:resize-pane -U 10 (Resizes the current pane upward by 10 cells)
:resize-pane -L 10 (Resizes the current pane left by 10 cells)
:resize-pane -R 10 (Resizes the current pane right by 10 cells)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;scrolling-and-copy&#34;&gt;Scrolling and copy&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;Ctrl-b [&lt;/code&gt; – Scroll (copy) mode , normal keys work &lt;code&gt;q&lt;/code&gt; to leave&lt;br /&gt;
&lt;code&gt;/&lt;/code&gt; forward search&lt;br /&gt;
&lt;code&gt;?&lt;/code&gt; backwards search&lt;br /&gt;
&lt;code&gt;Spacebar&lt;/code&gt; start selection&lt;/p&gt;
&lt;h2 id=&#34;links&#34;&gt;Links&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;http://www.dasblinkenlichten.com/getting-started-tmux/&#34;&gt;Das Blinken Lichten · Getting started with TMUX&lt;/a&gt;&lt;/p&gt;
</content:encoded>
        <dc:creator>Ben Mason</dc:creator>
        
        
        
        
          
            
              <category>tmux</category>
            
          
            
              <category>notes</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>
