From 63b282709308bf04b58ffbccd6849254eed3133d Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 24 Aug 2016 10:01:35 -0400 Subject: Updates local machine settings --- configs/.tmux.conf | 10 ++++++++++ configs/.zsh_profile | 6 ++++-- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'configs') diff --git a/configs/.tmux.conf b/configs/.tmux.conf index 5ef3765e86ab..04b210c12f55 100644 --- a/configs/.tmux.conf +++ b/configs/.tmux.conf @@ -1,7 +1,17 @@ set -g default-terminal "screen-256color" +set -g mouse on bind-key -r -T prefix k select-pane -U bind-key -r -T prefix j select-pane -D bind-key -r -T prefix h select-pane -L bind-key -r -T prefix l select-pane -R +bind-key -r -T prefix C-k resize-p -U 2 +bind-key -r -T prefix C-j resize-p -D 2 +bind-key -r -T prefix C-h resize-p -L 2 +bind-key -r -T prefix C-l resize-p -R 2 + +bind % split-window -c "#{pane_current_path}" +bind '"' split-window -h -c "#{pane_current_path}" +bind c new-window -c "#{pane_current_path}" + diff --git a/configs/.zsh_profile b/configs/.zsh_profile index 28e21f3ca40c..26da66d00ccb 100644 --- a/configs/.zsh_profile +++ b/configs/.zsh_profile @@ -1,10 +1,13 @@ -export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:$PATH +export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:/usr/local/sbin:$PATH # make vim the default editor for commit messages etc export EDITOR=$(which vim) echo "Welcome back, $USER" +# display the space available on each mounted Volume +df -hl + # use vi bindings for terminal input set -o vi @@ -14,7 +17,6 @@ source $HOME/pc_settings/aliases.sh # functions source $HOME/pc_settings/functions/index.sh - # setup keybindings for history functions source $HOME/pc_settings/scripts/setup_keybindings.sh -- cgit 1.4.1