about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2016-08-15T15·14-0400
committerWilliam Carroll <wpcarro@gmail.com>2016-08-15T15·14-0400
commit4563550969467223f422df1eda9c15165d24607c (patch)
treecbdf9570a5ffa0176e79eff3df63690cfa443624 /configs
parent6021ad31941203dafc2abd643a98fb549b620c6a (diff)
Trims fat and renames files
Diffstat (limited to 'configs')
-rw-r--r--configs/.tmux.conf7
-rw-r--r--configs/.zsh_profile39
2 files changed, 46 insertions, 0 deletions
diff --git a/configs/.tmux.conf b/configs/.tmux.conf
new file mode 100644
index 000000000000..5ef3765e86ab
--- /dev/null
+++ b/configs/.tmux.conf
@@ -0,0 +1,7 @@
+set -g default-terminal "screen-256color"
+
+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
+
diff --git a/configs/.zsh_profile b/configs/.zsh_profile
new file mode 100644
index 000000000000..28e21f3ca40c
--- /dev/null
+++ b/configs/.zsh_profile
@@ -0,0 +1,39 @@
+export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:$PATH
+
+# make vim the default editor for commit messages etc
+export EDITOR=$(which vim)
+
+echo "Welcome back, $USER"
+
+# use vi bindings for terminal input
+set -o vi
+
+# aliases
+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
+
+
+# BEGIN: bindkeys
+bindkey "^R" history-incremental-search-backward
+
+bindkey -M viins 'jj' vi-cmd-mode
+# END: bindkeys
+
+# export docker env variables
+# re-enable this line when using docker otherwise you will receive
+# a TLS error since docker-machine won't be running
+# eval "$(docker-machine env default)"
+
+# run cmatrix command for 3 seconds before exiting
+#. $HOME/pc_settings/.matrix_intro.sh
+
+# syntax highlighting for CLI; if not installed, run the following command
+# brew install zsh-syntax-highlighting
+source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+