Adds tmux themes; remaps <Esc> binding; and more...
This commit is contained in:
parent
bd968db34a
commit
ccb74054be
4 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
set -g default-terminal "screen-256color"
|
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 k select-pane -U
|
||||||
bind-key -r -T prefix j select-pane -D
|
bind-key -r -T prefix j select-pane -D
|
||||||
|
|
|
@ -340,9 +340,16 @@ nnoremap <leader>v7 :resize 35<CR>
|
||||||
nnoremap <leader>v8 :resize 40<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 + \
|
" View Directory tree with ctrl + \
|
||||||
nnoremap <C-\> :NERDTreeToggle<CR>
|
nnoremap <C-\> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" View open buffer location in tree.
|
||||||
|
nnoremap <C-o> :NERDTreeFind<CR>
|
||||||
|
|
||||||
|
|
||||||
" BOL and EOL
|
" BOL and EOL
|
||||||
nnoremap H ^
|
nnoremap H ^
|
||||||
|
|
|
@ -24,7 +24,7 @@ source $HOME/pc_settings/scripts/setup_keybindings.sh
|
||||||
# BEGIN: bindkeys
|
# BEGIN: bindkeys
|
||||||
bindkey "^R" history-incremental-search-backward
|
bindkey "^R" history-incremental-search-backward
|
||||||
|
|
||||||
bindkey -M viins 'jj' vi-cmd-mode
|
bindkey -M viins 'jk' vi-cmd-mode
|
||||||
# END: bindkeys
|
# END: bindkeys
|
||||||
|
|
||||||
# export docker env variables
|
# export docker env variables
|
||||||
|
|
|
@ -15,6 +15,7 @@ config_files=( \
|
||||||
for i in {0..3}; do
|
for i in {0..3}; do
|
||||||
cf="${config_files[i]}"
|
cf="${config_files[i]}"
|
||||||
echo "\"$cf\": "
|
echo "\"$cf\": "
|
||||||
|
|
||||||
if [ -f "$HOME/$cf" ] && [ ! -L "$HOME/$cf" ]; then
|
if [ -f "$HOME/$cf" ] && [ ! -L "$HOME/$cf" ]; then
|
||||||
echo -n "Backing up $cf ... " && \
|
echo -n "Backing up $cf ... " && \
|
||||||
mv "$HOME/$cf" "$HOME/$cf.bak" && \
|
mv "$HOME/$cf" "$HOME/$cf.bak" && \
|
||||||
|
|
Loading…
Reference in a new issue