1
0
Fork 0
bascht.com/content/tech/2011-05-24-tmux-settings-fo...

14 lines
964 B
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: tmux settings for screen + vim fans
---
<p>If you don't mind, I'd share my <a href="http://tmux.sourceforge.net/">tmux</a> config with you. I have mapped the control key to &lt;ctrl&gt; + &lt;a&gt; because I also got some boxes with GNU Screen flying around and I just can't remap my fingers… </p>
<p>The pane movements are adapted from the standard VIM movements. </p>
<p><code>
<p style="padding-left: 30px;">setw -g window-status-current-attr underscore<br>setw -g mode-keys vi<br>set -g status-keys vi<br>set -g prefix C-a</p>
<p style="padding-left: 30px;"> </p>
<p style="padding-left: 30px;">set-window-option -g utf8 on<br>set-window-option -g mode-keys vi<br>set-option -g mouse-select-pane on<br>set-option -g status on</p>
<p style="padding-left: 30px;">bind h select-pane -L<br>bind j select-pane -D<br>bind k select-pane -U<br>bind l select-pane -R</p>
<p style="padding-left: 30px;">bind C-d detach</p>
<p> </p>
</code></p>