diff options
author | William Carroll <wpcarro@gmail.com> | 2016-11-10T19·49-0500 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2016-11-10T19·49-0500 |
commit | ccb74054beedeecd7ecade402f42ef3b3215e47d (patch) | |
tree | bf538fbda1b7f0f6acb746257b4afe384e0edc9f | |
parent | bd968db34aff0d9a03b22257ec5a860d4c85946a (diff) |
Adds tmux themes; remaps <Esc> binding; and more...
-rw-r--r-- | configs/.tmux.conf | 2 | ||||
-rw-r--r-- | configs/.vimrc | 7 | ||||
-rw-r--r-- | configs/.zsh_profile | 2 | ||||
-rwxr-xr-x | configs/setup_configs.sh | 1 |
4 files changed, 11 insertions, 1 deletions
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 <leader>v7 :resize 35<CR> nnoremap <leader>v8 :resize 40<CR> +" NERDTree settings +" Show hidden files by default. (Toggle with capital 'i') +let NERDTreeShowHidden=1 + " View Directory tree with ctrl + \ nnoremap <C-\> :NERDTreeToggle<CR> +" View open buffer location in tree. +nnoremap <C-o> :NERDTreeFind<CR> + " 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" && \ |