From ccb74054beedeecd7ecade402f42ef3b3215e47d Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 10 Nov 2016 14:49:13 -0500 Subject: Adds tmux themes; remaps binding; and more... --- configs/.tmux.conf | 2 ++ configs/.vimrc | 7 +++++++ configs/.zsh_profile | 2 +- configs/setup_configs.sh | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/.tmux.conf b/configs/.tmux.conf index 00e9b750b421..e3178acbf4a1 100644 --- a/configs/.tmux.conf +++ b/configs/.tmux.conf @@ -1,5 +1,7 @@ set -g default-terminal "screen-256color" +source-file "${HOME}/makersquare/tmux-themepack/powerline/block/green.tmuxtheme" + bind-key -r -T prefix k select-pane -U bind-key -r -T prefix j select-pane -D diff --git a/configs/.vimrc b/configs/.vimrc index 151391950a30..57323e8ddb26 100644 --- a/configs/.vimrc +++ b/configs/.vimrc @@ -340,9 +340,16 @@ nnoremap v7 :resize 35 nnoremap v8 :resize 40 +" NERDTree settings +" Show hidden files by default. (Toggle with capital 'i') +let NERDTreeShowHidden=1 + " View Directory tree with ctrl + \ nnoremap :NERDTreeToggle +" View open buffer location in tree. +nnoremap :NERDTreeFind + " BOL and EOL nnoremap H ^ diff --git a/configs/.zsh_profile b/configs/.zsh_profile index 89eb0b738c7e..f80664afcd88 100644 --- a/configs/.zsh_profile +++ b/configs/.zsh_profile @@ -24,7 +24,7 @@ source $HOME/pc_settings/scripts/setup_keybindings.sh # BEGIN: bindkeys bindkey "^R" history-incremental-search-backward -bindkey -M viins 'jj' vi-cmd-mode +bindkey -M viins 'jk' vi-cmd-mode # END: bindkeys # export docker env variables diff --git a/configs/setup_configs.sh b/configs/setup_configs.sh index c0673c0a055d..02d863277f2b 100755 --- a/configs/setup_configs.sh +++ b/configs/setup_configs.sh @@ -15,6 +15,7 @@ config_files=( \ for i in {0..3}; do cf="${config_files[i]}" echo "\"$cf\": " + if [ -f "$HOME/$cf" ] && [ ! -L "$HOME/$cf" ]; then echo -n "Backing up $cf ... " && \ mv "$HOME/$cf" "$HOME/$cf.bak" && \ -- cgit 1.4.1