Adds tmux themes; remaps <Esc> binding; and more...

This commit is contained in:
William Carroll 2016-11-10 14:49:13 -05:00
parent bd968db34a
commit ccb74054be
4 changed files with 11 additions and 1 deletions

View file

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

View file

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

View file

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

View file

@ -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" && \