mirror of
https://github.com/TrentSPalmer/trentdocs_website.git
synced 2025-08-01 13:33:57 -07:00
add tmux/byobu copy mode tip
This commit is contained in:
@@ -133,6 +133,8 @@
|
||||
|
||||
<li><a class="toctree-l3" href="#zfs-disc-error-disc-identification">ZFS Disc Error Disc Identification</a></li>
|
||||
|
||||
<li><a class="toctree-l3" href="#byobutmux-copy-mode">Byobu/Tmux copy mode</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -243,6 +245,34 @@ Fix this error with the following command <code>sudo setcap CAP_NET_BIND_SERVICE
|
||||
which disks are causing you trouble. For instance, your system log, <code>journalctl | grep -i fail</code>
|
||||
shows read error on /dev/sdc. </p>
|
||||
<p>You can use <code>lsblk -o MODEL,SERIAL</code> to match the information generated by <code>zpool status</code>.</p>
|
||||
<h2 id="byobutmux-copy-mode">Byobu/Tmux copy mode</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Enter Copy Mode </p>
|
||||
<ul>
|
||||
<li>in byobu use key <code>F7</code></li>
|
||||
<li>in tmux use <code><prefix> [</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>Navigate around less/copy buffer using <code>h,j,k,l</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Select text</p>
|
||||
<ul>
|
||||
<li><code><space></code> begins text selection</li>
|
||||
<li>move cursor around using <code>h,j,k,l</code></li>
|
||||
<li><code><enter></code> ends text selection</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>Paste selection in any tmux/byobu window</p>
|
||||
<ul>
|
||||
<li>in byobu use <code>alt+insert</code></li>
|
||||
<li>in tmux use <code><prefix> ]</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user