Skip to content

Instantly share code, notes, and snippets.

@syui
Created December 5, 2014 10:14
Show Gist options
  • Save syui/5c49d1296c992d8af737 to your computer and use it in GitHub Desktop.
Save syui/5c49d1296c992d8af737 to your computer and use it in GitHub Desktop.
TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="⮂"
TMUX_POWERLINE_SEPARATOR_LEFT_THIN="⮃"
TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="⮀"
TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="⮁"
TMUX_POWERLINE_GIT="⭠"
set-option -g status-left "#(~/dotfiles/.tmux/tmux-powerline/powerline.sh left)#[bg=black]#[fg=white] #[fg=blue]#[bg=blue]#[fg=black]${TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD}#[bg=blue]#[fg=white] #(~/dotfiles/.tmux/tmux-powerline/segments/used-mem) %% | #(df -h | grep disk | sed 's/ /,/g' | cut -d , -f 4) #[bg=colour013]#[fg=blue]${TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD}#[bg=colour013]#[fg=colour021]#(~/gist/mplayer_tmux.sh)#[bg=black]#[fg=colour013]${TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD}"
set-option -g status-right "#[fg=black]${TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD}#(~/dotfiles/.tmux/tmux-powerline/powerline.sh right)"
bind y run-shell 'tmux-pbcopy'
bind C-c run "tmux choose-buffer | pbcopy"
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
set-option -g default-command zsh
set-option -g default-command "reattach-to-user-namespace -l zsh"
bind y run-shell 'tmux-pbcopy'
bind C-c run "tmux choose-buffer | pbcopy"
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
set-option -g default-command zsh
set-option -g default-command "reattach-to-user-namespace -l zsh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment