Last active
February 25, 2018 16:11
-
-
Save c0desurfer/ca7712f91793450f0966b4c271335702 to your computer and use it in GitHub Desktop.
Tmux with Powerline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# powerline | |
source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf | |
set-option -g default-terminal "screen-256color" | |
# remap prefix to Control + a | |
set -g prefix C-a | |
# bind 'C-a C-a' to type 'C-a' | |
bind C-a send-prefix | |
unbind C-b | |
# vi mode | |
set-window-option -g mode-keys vi | |
# easier copy and pasting | |
unbind p | |
bind p paste-buffer | |
bind-key -t vi-copy 'v' begin-selection | |
bind-key -t vi-copy 'y' copy-selection | |
# border color | |
set -g pane-border-fg colour31 | |
set -g pane-active-border-fg white | |
set -g pane-active-border-bg default | |
# mouse mode on | |
set -g mouse on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment