Initial Commit

This commit is contained in:
2013-06-30 05:52:35 +00:00
commit 407f95864d
2 changed files with 59 additions and 0 deletions

33
setup.sh Executable file
View File

@@ -0,0 +1,33 @@
#!/bin/sh
# From aaronjensen/dotfiles
cd `dirname $0`
F=`pwd |sed -e "s#$HOME/\?##"`
for P in *
do
# skip setup
if [ "$P" = "setup.sh" ]; then continue; fi
# ensure permissions
chmod -R o-rwx,g-rwx $P
# skip existing links
if [ -h "$HOME/.$P" ]; then continue; fi
# move existing dir out of the way
if [ -e "$HOME/.$P" ]; then
if [ -e "$HOME/__$P" ]; then
echo "want to override $HOME/.$P but backup exists"
continue;
fi
echo -n "Backup "
mv -v "$HOME/.$P" "$HOME/__$P"
fi
# create link
echo -n "Link "
ln -v -s "$F/$P" "$HOME/.$P"
done

26
tmux.conf Normal file
View File

@@ -0,0 +1,26 @@
set -g default-terminal "screen-256color"
set -g base-index 1
set -g pane-base-index 1
set -g set-titles on
set -g status-keys vi
# Faster Command Sequences
set -s escape-time 0
# mouse can be used to select panes
set -g mouse-select-pane on
# mouse can be used to select windows (by clicking in the status bar)
set -g mouse-select-window on
# mouse can be used to resize panes (by dragging dividers)
set -g mouse-resize-pane on
# not really sure what this does, but with it, the scrollwheel works inside Vim
set -g mouse-utf8 on
set -g set-clipboard on
set -g history-limit 50000
setw -g utf8 on
setw -g xterm-keys on
setw -g automatic-rename on
setw -g monitor-activity on
setw -g aggressive-resize on
# allow mouse to enter copy mode and initiate selection
setw -g mode-mouse on