Updates local machine settings

This commit is contained in:
William Carroll 2016-08-24 10:01:35 -04:00
parent 337ba2e247
commit 63b2827093
4 changed files with 26 additions and 3 deletions

View file

@ -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}"

View file

@ -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