<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tmux on Codrut Constantin Gusoi</title>
    <link>https://www.codrut.pro/tags/tmux/</link>
    <description>Recent content in Tmux on Codrut Constantin Gusoi</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 21 Apr 2021 09:17:53 +0000</lastBuildDate>
    <atom:link href="https://www.codrut.pro/tags/tmux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tmux natural smooth scroll</title>
      <link>https://www.codrut.pro/snippets/tmux-natural-smooth-scroll/</link>
      <pubDate>Wed, 21 Apr 2021 09:17:53 +0000</pubDate>
      <guid>https://www.codrut.pro/snippets/tmux-natural-smooth-scroll/</guid>
      <description>&lt;p&gt;Tmux is not capable of picking up natural scroll, you need to configure it:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-conf&#34; data-lang=&#34;conf&#34;&gt;# Mouse support.&#xA;set -g mouse on&#xA;&#xA;# Natural scroll, line by line.&#xA;bind-key -T copy-mode-vi WheelUpPane   send-keys -X scroll-down-and-cancel&#xA;bind-key -T copy-mode-vi WheelDownPane send-keys -X scroll-up&#xA;&#xA;# Don&amp;#39;t overwrite scroll for tools that already know about it.&#xA;bind-key -n WheelDownPane if-shell -F &amp;#34;#{||:#{pane_in_mode},#{mouse_any_flag}}&amp;#34; &amp;#34;send -M&amp;#34; &amp;#34;copy-mode -e&amp;#34;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
