Adding vimux to vimrc.

This commit is contained in:
2018-02-04 08:48:06 +00:00
parent 5e137e7c68
commit 1aa7f2c8ee
3 changed files with 13 additions and 4 deletions

View File

@@ -427,6 +427,7 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md'))
let g:airline#extensions#tabline#left_sep = ' '
let g:airline#extensions#tabline#left_alt_sep = '|'
let g:airline_powerline_fonts = 1
"
"
"
@@ -461,7 +462,6 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md'))
let g:buffergator_viewport_split_policy = "L"
map ab :BuffergatorToggle<CR>
"map at :BuffergatorTabsToggle<CR>
"
" :A switches to the header file (or vise versa)
" :AS splits and switches
@@ -483,6 +483,11 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md'))
let g:alternateExtensions_cpp = "h"
let g:alternateExtensions_c = "h"
map ah :A<CR>
"
" Tmux integration.
"
Plugin 'benmills/vimux'
"
" Extends modeline to variables.
" Needed by CF5 compile to read options right from file.
@@ -495,7 +500,7 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md'))
Plugin 'vishap/cf5-compile'
map <silent> ac :call CF5CompileOnly()<CR>
map <silent> ar :call CF5CompileAndRun()<CR>
"
" Provide templates
"
@@ -552,6 +557,7 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md'))
"
" Nice colorschemes.
" Actual colorscheme is set outside as vundle resets it.
"
if &t_Co >= 256 || has('gui_running')
Plugin 'nanotech/jellybeans.vim'
@@ -604,6 +610,9 @@ if filereadable(expand('~/.vim/bundle/Vundle.vim/README.md'))
filetype plugin on
endif
"
" Vundle resets this if set inside vundle section.
"
if &t_Co >= 256 || has('gui_running')
colorscheme jellybeans
hi clear SpellBad