Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move darwin specifics out of tmux.conf

  • Loading branch information...
commit d575469a926513e5257d34ff44e4fd45dc74828f 1 parent abf591b
@dougm authored
Showing with 18 additions and 8 deletions.
  1. +9 −0 home/.bashrc
  2. +9 −0 home/.tmux.Darwin.conf
  3. +0 −8 home/.tmux.conf
View
9 home/.bashrc
@@ -14,6 +14,15 @@ rvm_version() {
[ "$full" != "" ] && echo "$full "
}
+tmux_cmd="tmux -2"
+tmux_cfg="$HOME/.tmux.$(uname).conf"
+
+if [ -f $tmux_cfg ]; then
+ tmux_cmd="${tmux_cmd} -f ${tmux_cfg}"
+fi
+
+alias tmux="${tmux_cmd}"
+
HISTCONTROL=ignoredups:ignorespace
HISTSIZE=5000
HISTFILESIZE=5000
View
9 home/.tmux.Darwin.conf
@@ -0,0 +1,9 @@
+source-file ~/.tmux.conf
+
+# 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"
+
+set -g mode-mouse on
View
8 home/.tmux.conf
@@ -17,8 +17,6 @@ bind - split-window -v
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
@@ -41,12 +39,6 @@ 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)
Please sign in to comment.
Something went wrong with that request. Please try again.