Permalink
Browse files

Update tmux.conf using tpm

  • Loading branch information...
yuku committed May 29, 2017
1 parent afeabe1 commit 92d74e1c883447243315fda9e36ed1efdcf85147
Showing with 3 additions and 64 deletions.
  1. +1 −0 .gitignore
  2. +2 −56 tmux.conf
  3. +0 −8 tmux.conf.osx
View
@@ -4,4 +4,5 @@
/vim/plugged
/vim/swap
/rbenv
/tmux/plugins
!/rbenv/default-gems
View
@@ -3,26 +3,6 @@ set -g prefix C-q
# don't use default prefix(C-b)
unbind C-b
if-shell "uname | grep -q Darwin" "source-file ~/.tmux.conf.osx"
set -g focus-events on
bind c new-window -c '#{pane_current_path}'
# Ring the bell if any background window rang a bell
set -g bell-action any
# Session Options
# ===============
set -s escape-time 0
# Default termtype. If the rcfile sets $TERM, that overrides this value.
set -g default-terminal screen-256color
# set -g mouse-select-pane on
set -g base-index 1
# setw -g utf8 on
# setw -g automatic-rename on
# Status bar
# ----------
set -g status on
@@ -40,46 +20,10 @@ set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour252,bg=c
set -g window-status-format "#[fg=colour235,bg=colour252,bold] #I: #W "
set -g window-status-current-format "#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]"
# Message style
# -------------
set -g message-attr bold
set -g message-fg white
set -g message-bg red
# Key bindings
# ============
setw -g mode-keys vi
# Reload settings
unbind r ; bind r source-file ~/.tmux.conf
# choose window C-q
unbind C-q ; bind C-q choose-window
# vi like yank
unbind -T copy-mode-vi v ; bind -T copy-mode-vi v send-keys -X begin-selection
unbind -T copy-mode-vi y ; bind -T copy-mode-vi y send-keys -X copy-selection
# detach C-d d
unbind C-d ; bind C-d detach
# next and previous window
unbind C-n ; bind C-n next-window
unbind C-p ; bind C-p previous-window
# screen like split
unbind | ; bind | split-window -h
unbind S ; bind S split-window
# walk around panes
unbind Tab ; bind Tab select-pane -t :.-
unbind BTab ; bind BTab select-pane -t :.+
unbind h ; bind h select-pane -L
unbind l ; bind l select-pane -R
unbind k ; bind k select-pane -U
unbind j ; bind j select-pane -D
# For tmuxinator
# ==============
set-option -g base-index 1
@@ -88,6 +32,8 @@ set-window-option -g pane-base-index 1
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-open'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
View

This file was deleted.

Oops, something went wrong.

0 comments on commit 92d74e1

Please sign in to comment.