This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Smart pane switching with awareness of vim splits | |
| # See: https://github.com/christoomey/vim-tmux-navigator | |
| is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?x?)(diff)?$"' | |
| bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L" | |
| bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D" | |
| bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U" | |
| bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R" | |
| bind -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l" | |
| # bind C-l send-keys 'C-l' ## forgot what this is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| "" Vundle Plugin { | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " alternatively, pass a path where Vundle should install plugins | |
| "call vundle#begin('~/some/path/here') |