Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to be committed: modified: .gitignore new file: plugin.vimrc
- Loading branch information
Showing
2 changed files
with
104 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
!/colors | ||
!/.gitconfig | ||
!/.gitignore | ||
!/neobundle.vim | ||
!/plugin.vimrc |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
"""""""" header | ||
set nocompatible | ||
filetype off | ||
|
||
"" set neobundle directory | ||
if has('vim_starting') | ||
set rtp+=~/.vim/bundle/neobundle.vim/ | ||
endif | ||
|
||
"" Required: | ||
call neobunjdle#begin(expand('~/.vim/bundle/')) | ||
|
||
NeoBundleFetch 'Shougo/neobundle.vim' | ||
|
||
"""""""" END of header | ||
|
||
"---------------- | ||
"Install | ||
"---------------- | ||
""vundle | ||
NeoBundle 'gmarik/vundle' | ||
""unite $BM;9g%W%i%0%$%s(B | ||
NeoBundle 'Shougo/unite.vim' | ||
""unite-outline $B%3!<%I%"%&%H%i%$%s(B(fork$BHG(B) | ||
NeoBundle 'Shougo/unite-outline' | ||
|
||
""vimfiler $B%U%!%$%i!<(B | ||
NeoBundle 'Shougo/vimfiler' | ||
""neocomplete $B<+F0Jd40(B | ||
NeoBundle 'Shougo/neocomplete.vim' | ||
""abolish $BJQ?tL?L>5,B'JQ49(B | ||
"NeoBundle 'tpope/vim-abolish' | ||
""tcomment $B%3%a%s%H%"%&%H%H%0%k(B | ||
"NeoBundle 'tomtom/tcomment_vim' | ||
"" platex.vim $B%3%s%Q%$%k$G$-$k(B | ||
NeoBundle 'lambdalisue/platex.vim' | ||
""quickrun $B%3!<%I$N$*<j7Z<B9T(B | ||
NeoBundle 'thinca/vim-quickrun' | ||
""lightline $B>pJs9T6/2=(B | ||
NeoBundle 'itchyny/lightline.vim' | ||
""vim-indent-guides $B%$%s%G%s%H2D;k2=(B | ||
NeoBundle 'nathanaelkane/vim-indent-guides' | ||
|
||
"---------------- | ||
"Plugin option | ||
"---------------- | ||
|
||
|
||
""Unite.vim | ||
nnoremap <Space> <silent> <nop> | ||
nmap <Space> [unite] | ||
nnoremap [unite]u :Unite | ||
nnoremap [unite]f :Unite file<CR> | ||
nnoremap [unite]c :Unite tab buffer<CR> | ||
nnoremap [unite]h :Unite file_mru directory_mru<CR> | ||
nnoremap [unite]b :Unite bookmark<CR> | ||
""unite-outline | ||
nnoremap [unite]o :Unite outline<CR> | ||
""vimfiler | ||
|
||
""platex.vim | ||
let g:platex_suite_main_file = "index" | ||
let g:platex_suite_latex_compiler = "platex" | ||
let g:platex_suite_dvipdf_compiler = "dvipdfmx" | ||
let g:platex_suite_viewer = "evince" | ||
augroup platex | ||
autocmd! | ||
autocmd BufNewFile,BufRead *.tex let g:platex_suite_main_file = "%:r" | ||
augroup END | ||
|
||
""vim-quickrun | ||
let g:quickrun_config = { | ||
\ "cpp": { | ||
\ 'command': 'g++', | ||
\ 'cmdopt': '-std=c++11' | ||
\ } | ||
\} | ||
|
||
""lightline | ||
set laststatus=2 | ||
let g:lightline = { | ||
\ 'colorscheme': 'wombat', | ||
\} | ||
|
||
""vim-indent-guides | ||
let g:indent_guides_enable_on_vim_startup=1 | ||
let g:indent_guides_start_level=1 | ||
let g:indent_guides_auto_colors=0 | ||
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd ctermbg=235 | ||
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=236 | ||
let g:indent_guides_guide_size=1 | ||
|
||
"""""""" last: | ||
call neobundle#end() | ||
|
||
filetype plugin indent on | ||
|
||
if neobundle#exists_not_installed_bundles() | ||
echomsg 'Not installed bundles : ' . | ||
\ string(neobundle#get_not_installed_bundle_names()) | ||
echomsg 'Please execute ":NeoBundleInstall" command.' | ||
endif |