14 lines
964 B
HTML
14 lines
964 B
HTML
---
|
||
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 <ctrl> + <a> 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>
|