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

@@ -1,2 +0,0 @@
#!/bin/sh
ssh -f -N -D 192.168.0.3:1080 yerevak.vostan.org

View File

@@ -23,3 +23,5 @@
path = ~/.gitconfig.local path = ~/.gitconfig.local
[core] [core]
excludesfile = ~/.gitignore.global excludesfile = ~/.gitignore.global
[credentail]
helper = cache

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