Add tmux controls to vimrc

This commit is contained in:
Henrik Lissner 2014-08-13 01:17:39 -04:00
parent 496acea9bd
commit 655327f069
2 changed files with 6 additions and 8 deletions

4
bashrc
View file

@ -1,7 +1,3 @@
# Source component rcfiles # Source component rcfiles
source ~/.zsh/paths
# source ~/.zsh/functions # source ~/.zsh/functions
# source ~/.zsh/aliases # source ~/.zsh/aliases
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

10
vimrc
View file

@ -175,6 +175,8 @@ NeoBundleFetch 'Shougo/neobundle.vim'
" Project-wide search and replace " Project-wide search and replace
" NeoBundle 'skwp/greplace.vim' " NeoBundle 'skwp/greplace.vim'
NeoBundle 'christoomey/vim-tmux-navigator'
" Netrw improvements " Netrw improvements
NeoBundle 'scrooloose/nerdtree' NeoBundle 'scrooloose/nerdtree'
@ -303,10 +305,10 @@ NeoBundleFetch 'Shougo/neobundle.vim'
" % matchit shortcut, but only in normal mode! " % matchit shortcut, but only in normal mode!
nmap <Tab> % nmap <Tab> %
" Easier fold toggle " Easier fold toggle
nnoremap <C-j> 5j nnoremap <M-j> 5j
vnoremap <C-j> 5j vnoremap <M-j> 5j
nnoremap <C-k> 5k nnoremap <M-k> 5k
vnoremap <C-k> 5k vnoremap <M-k> 5k
" f: Find. Also support repeating with . " f: Find. Also support repeating with .
nnoremap <Plug>OriginalSemicolon ; nnoremap <Plug>OriginalSemicolon ;