Skip to content

Commit

Permalink
shell: Remove unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
JIghtuse committed Dec 4, 2015
1 parent e4324dc commit 4bf4110
Showing 1 changed file with 2 additions and 51 deletions.
53 changes: 2 additions & 51 deletions shell/.tmux.conf
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
source "/usr/share/tmux/powerline.conf"

# Prefix
set-option -g prefix C-k
bind C-k send-prefix
unbind C-b

# Terminal
set-option -g default-terminal "screen-256color"

# Mouse
set-option -g mouse off

# Start index of windows and panes
set-option -g base-index 1
set-option -g pane-base-index 1

# Reload config
bind r source-file ~/.tmux.conf \; display "Config file reloaded!"

Expand All @@ -35,47 +27,6 @@ bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5

# Coloring
set-option -g status-fg colour250
set-option -g status-bg colour238
set-option -g status-fg colour250
set-window-option -g window-status-fg default
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim
set-window-option -g window-status-current-fg colour238
set-window-option -g window-status-current-bg colour228
set-window-option -g window-status-current-attr bright
set-option -g pane-border-fg colour250
set-option -g pane-border-bg colour250
set-option -g pane-active-border-fg black
set-option -g pane-active-border-bg black

# Statusbar
set-option -g status-utf8 on
set-option -g status-interval 1
set-option -g status-left "[#S]"
set-option -g status-right "%d %b %R"
set-option -g visual-activity on
set-window-option -g monitor-activity on
#set-option -g status-right "#[fg=cyan]%d %b %R"

# Vi mode
set-window-option -g mode-keys vi
bind [ copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection

bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"

# ctrl+left/right cycles thru windows
bind-key -n C-right next
bind-key -n C-left prev

# open a man page in new window
bind / command-prompt "split-window 'exec man %%'"

# quick view of processes
bind '~' split-window "exec top"

0 comments on commit 4bf4110

Please sign in to comment.