Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add tmux.conf

  • Loading branch information...
commit 4dae8b9228630ecf95e5a5521f97eb2b3c838702 1 parent 0f287d7
@dougm authored
Showing with 81 additions and 0 deletions.
  1. +81 −0 home/.tmux.conf
View
81 home/.tmux.conf
@@ -0,0 +1,81 @@
+set-option -g prefix C-j
+
+set -g status-right "#[fg=yellow]#(goss) #h"
+
+set -g default-terminal "xterm-256color"
+
+setw -g aggressive-resize on
+setw -g monitor-activity on
+set -g visual-activity on
+
+unbind %
+bind | split-window -h
+bind - split-window -v
+
+#set-option -g status-keys emacs
+#set-option -gw mode-keys emacs
+bind-key -t emacs-copy C-v page-down
+bind-key -t emacs-copy M-v page-up
+
+set -g mode-mouse on
+
+bind-key C-j last-window
+
+unbind l
+unbind r
+unbind u
+unbind d
+
+bind l select-pane -L
+bind r select-pane -R
+bind u select-pane -U
+bind d select-pane -D
+bind j select-pane -l
+
+bind up resize-pane -U 10
+bind down resize-pane -D 10
+bind left resize-pane -L 10
+bind right resize-pane -R 10
+
+bind C-r source-file ~/.tmux.conf
+
+bind / command-prompt -p "man page: " "split-window 'exec man %%'"
+
+# brew install reattach-to-user-namespace
+
+set-option -g default-command "reattach-to-user-namespace -l bash"
+bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
+bind C-v run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
+
+#github.com/seebi/tmux-colors-solarized
+#### COLOUR (Solarized dark)
+
+# default statusbar colors
+set-option -g status-bg black #base02
+set-option -g status-fg yellow #yellow
+set-option -g status-attr default
+
+# default window title colors
+set-window-option -g window-status-fg brightblue #base0
+set-window-option -g window-status-bg default
+#set-window-option -g window-status-attr dim
+
+# active window title colors
+set-window-option -g window-status-current-fg brightred #orange
+set-window-option -g window-status-current-bg default
+#set-window-option -g window-status-current-attr bright
+
+# pane border
+set-option -g pane-border-fg black #base02
+set-option -g pane-active-border-fg brightgreen #base01
+
+# message text
+set-option -g message-bg black #base02
+set-option -g message-fg brightred #orange
+
+# pane number display
+set-option -g display-panes-active-colour blue #blue
+set-option -g display-panes-colour brightred #orange
+
+# clock
+set-window-option -g clock-mode-colour green #green
Please sign in to comment.
Something went wrong with that request. Please try again.