Permalink
Browse files

Update vim config

  • Loading branch information...
tyru committed Jan 23, 2016
1 parent 612deab commit 641ef8a412913f4c70f3fafd240e0534a6fc41b6
View
@@ -6,14 +6,12 @@
user = tyru
[core]
excludesfile = ~/.gitignore.base
editor = vim
[user]
name = tyru
email = tyru.exe@gmail.com
[alias]
ar = archive
br = branch
cancel = !git commit -a -m 'Temporary commit for cancel' && git reset --hard HEAD~
ci = commit -v
cia = commit -v --all
ciam = commit -v --amend
@@ -1,4 +1,7 @@
version:1
active:1 version:2ec28751775ee4f33cdcd6fe5bb93af1573dc6fd dir:bundle/open-browser.vim name:open-browser.vim remote:origin type:git url:https://github.com/tyru/open-browser.vim branch:master
active:1 version:f874dbdd8a5945a4dd7310c43dffba5f1820a8fa dir:bundle/emap.vim name:emap.vim remote:origin type:git url:https://github.com/tyru/emap.vim branch:master
active:1 version:69b471b3b215bbebd2580d1663dc811f9a09b25a dir:bundle/vim-altercmd name:vim-altercmd remote:origin type:git url:https://github.com/tyru/vim-altercmd branch:master
active:1 version:145ddffb8cd33211df22b1c7c5399cb8ecdafd6b dir:bundle/SudoEdit.vim name:SudoEdit.vim remote:origin type:git url:https://github.com/vim-scripts/SudoEdit.vim branch:master
active:1 version:6600953fc7c85ca43216abf4765118994bf0cc5f dir:bundle/ag.vim name:ag.vim remote:origin type:git url:https://github.com/rking/ag.vim.git branch:master
active:1 version:32c272063f2602d57882c83fea2cd7496776eb83 dir:bundle/autodate.vim name:autodate.vim remote:origin type:git url:https://github.com/vim-scripts/autodate.vim.git branch:master
@@ -8,32 +11,27 @@ active:1 version:9a52df9f8b381276e732cf1394e6bd07fc083a56 dir:bundle/caw.vim nam
active:1 version:56498f8dfea1f68de2892d6373e132a7e863753e dir:bundle/codingstyle.vim name:codingstyle.vim remote:origin type:git url:https://github.com/tyru/codingstyle.vim branch:master
active:1 version:bc7fe9e3ead0be6a6fe3a8f2871b454051365337 dir:bundle/cpp-vim name:cpp-vim remote:origin type:git url:https://github.com/vim-jp/cpp-vim branch:master
active:1 version:e8e5b191b16d9903a933382a19d33a13be1c5257 dir:bundle/current-func-info.vim name:current-func-info.vim remote:origin type:git url:https://github.com/tyru/current-func-info.vim branch:master
active:1 version:f874dbdd8a5945a4dd7310c43dffba5f1820a8fa dir:bundle/emap.vim name:emap.vim remote:origin type:git url:https://github.com/tyru/emap.vim branch:master
active:1 version:07e5acbaacb9c016419c04c5728831d8a0756fd9 dir:bundle/eskk.vim name:eskk.vim remote:origin type:git url:https://github.com/tyru/eskk.vim branch:master
active:1 version:e0d0019bb512715e167fdda1ae93f347ce7d20ca dir:bundle/eskk.vim name:eskk.vim remote:origin type:git url:https://github.com/tyru/eskk.vim branch:master
active:1 version:8854283dc68c6b669c441774e3497954a6f1e352 dir:bundle/fileutils.vim name:fileutils.vim remote:origin type:git url:https://github.com/tyru/fileutils.vim branch:master
active:1 version:2ca2ae57d6a69bc73fc91864f5a3acf9d81d5798 dir:bundle/foldCC name:foldCC remote:origin type:git url:https://github.com/LeafCage/foldCC branch:master
active:1 version:9b0a764c26c3c52edfabacc1597bb46023913fa5 dir:bundle/ftl-vim-syntax name:ftl-vim-syntax remote:origin type:git url:https://github.com/chaquotay/ftl-vim-syntax branch:master
active:1 version:88c331e2e07765090112a396e5e119b39b5aa754 dir:bundle/gist-vim name:gist-vim remote:origin type:git url:https://github.com/mattn/gist-vim branch:master
active:1 version:21b38e6bce5a0852dd55d41f7a014c1e7c3938a6 dir:bundle/lexima.vim name:lexima.vim remote:origin type:git url:https://github.com/cohama/lexima.vim branch:master
active:1 version:1977757ec425408d5dc1dfaa9c0ccb67a5c437bb dir:bundle/neocomplete.vim name:neocomplete.vim remote:origin type:git url:https://github.com/Shougo/neocomplete.vim.git branch:master
active:1 version:bab3124e3ff52dc70d30fd741ba0b8d718cae4d9 dir:bundle/neomru.vim name:neomru.vim remote:origin type:git url:https://github.com/Shougo/neomru.vim branch:master
active:1 version:a444952e7bfc1443815dde9ab72a2e2b843e5d20 dir:bundle/neosnippet-snippets name:neosnippet-snippets remote:origin type:git url:https://github.com/Shougo/neosnippet-snippets.git branch:master
active:1 version:da9806f8253a9f889f3a800dd78d8ce3389685d4 dir:bundle/neosnippet.vim name:neosnippet.vim remote:origin type:git url:https://github.com/Shougo/neosnippet.vim.git branch:master
active:1 version:6dbde30df6170cbe685627b12bf36b48d1c6d175 dir:bundle/nextfile.vim name:nextfile.vim remote:origin type:git url:https://github.com/tyru/nextfile.vim branch:master
active:1 version:8312733b08330191358af14832d9959f19739eda dir:bundle/open-browser-github.vim name:open-browser-github.vim remote:origin type:git url:https://github.com/tyru/open-browser-github.vim branch:master
active:1 version:61169d9c614cfead929be33b279e4e644d2c7c55 dir:bundle/open-browser.vim name:open-browser.vim remote:origin type:git url:https://github.com/tyru/open-browser.vim branch:master
active:1 version:53f9588aa8f1baa0d0313543b36d950498f67a55 dir:bundle/operator-html-escape.vim name:operator-html-escape.vim remote:origin type:git url:https://github.com/tyru/operator-html-escape.vim branch:master
active:1 version:5cef6ab1da1bb8942796bb6d88342dbf0436751b dir:bundle/qfhist.vim name:qfhist.vim remote:origin type:git url:https://github.com/tyru/qfhist.vim branch:master
active:1 version:81a1c599e54ae01348e5935386175a147c7b9cd2 dir:bundle/restart.vim name:restart.vim remote:origin type:git url:https://github.com/tyru/restart.vim branch:master
active:1 version:f8a8fcffcff2a7d2f169ecf3bb5d0071ae1649c5 dir:bundle/skkdict.vim name:skkdict.vim remote:origin type:git url:https://github.com/tyru/skkdict.vim branch:master
active:1 version:786effb02b40aaa5dce560aebb8323c572a9ca1e dir:bundle/skkdict.vim name:skkdict.vim remote:origin type:git url:https://github.com/tyru/skkdict.vim branch:master
active:1 version:05e040cfdd003c367b2351dada21d0517149f20f dir:bundle/transbuffer.vim name:transbuffer.vim remote:origin type:git url:https://github.com/tyru/transbuffer.vim branch:master
active:1 version:fa1efac6ce022fc307836d34828c6aff43481233 dir:bundle/typescript-vim name:typescript-vim remote:origin type:git url:https://github.com/leafgarland/typescript-vim.git branch:master
active:1 version:422eca71a0c17e543a1aaa6713b903502d7a0354 dir:bundle/unite.vim name:unite.vim remote:origin type:git url:https://github.com/Shougo/unite.vim branch:master
active:1 version:69b471b3b215bbebd2580d1663dc811f9a09b25a dir:bundle/vim-altercmd name:vim-altercmd remote:origin type:git url:https://github.com/tyru/vim-altercmd branch:master
active:1 version:f8ba72aa0c50958a747b7cb3c36be1a26b696b0e dir:bundle/vim-anzu name:vim-anzu remote:origin type:git url:https://github.com/osyo-manga/vim-anzu.git branch:master
active:1 version:3d595447dab4466e90b6fe47e3d80c014cd15a0e dir:bundle/vim-brightest name:vim-brightest remote:origin type:git url:https://github.com/osyo-manga/vim-brightest branch:master
active:1 version:b02d8a9140d800f4a07af82fa31b6189bb3b66c6 dir:bundle/vim-fakeclip name:vim-fakeclip remote:origin type:git url:https://github.com/kana/vim-fakeclip branch:master
active:1 version:4a70aa2e0b98d20940a65ac38b6e9acc69c6b7a0 dir:bundle/vim-flavored-markdown name:vim-flavored-markdown remote:origin type:git url:https://github.com/jtratner/vim-flavored-markdown.git branch:master
active:1 version:89771dffd3682ef82a4b3b3e9c971b9909f08e87 dir:bundle/vim-ft-diff_fold name:vim-ft-diff_fold remote:origin type:git url:https://github.com/thinca/vim-ft-diff_fold branch:master
active:1 version:9faeb4bf4644ad5d4a1bbef9df635d44814cd80c dir:bundle/vim-ft-markdown_fold name:vim-ft-markdown_fold remote:origin type:git url:https://github.com/thinca/vim-ft-markdown_fold branch:master
active:1 version:fd36aa9c61e06d71befdbe8931f97137c489b065 dir:bundle/vim-fugitive name:vim-fugitive remote:origin type:git url:https://github.com/tpope/vim-fugitive branch:master
@@ -49,7 +47,6 @@ active:1 version:fc5d7792afbebc7bef8de1e3a00713bba2932a24 dir:bundle/vim-rails n
active:1 version:007b0ac409100cf2b83eb7dace5c8235e3737fef dir:bundle/vim-ref name:vim-ref remote:origin type:git url:https://github.com/thinca/vim-ref branch:master
active:1 version:6dd787884b4df5c9193073325775b22c3a800225 dir:bundle/vim-repeat name:vim-repeat remote:origin type:git url:https://github.com/kana/vim-repeat branch:master
active:1 version:a3b9500ebda69f90d16a567da9a39693919489ea dir:bundle/vim-rooter name:vim-rooter remote:origin type:git url:https://github.com/airblade/vim-rooter.git branch:master
active:1 version:1d9ef6ef40b4de6ce2c973b3e8dc1d521ddcb274 dir:bundle/vim-singleton name:vim-singleton remote:origin type:git url:https://github.com/thinca/vim-singleton branch:master
active:1 version:d44a302b3ca97c8014c35c93893ca8fec0b95e4e dir:bundle/vim-submode name:vim-submode remote:origin type:git url:https://github.com/kana/vim-submode branch:master
active:1 version:e0d348ca7474d970d7abdd87b59cf44efe617ee2 dir:bundle/vim-surround name:vim-surround remote:origin type:git url:https://github.com/kana/vim-surround branch:master
active:1 version:8b71a03a037608fa5918f5096812577cec6355e4 dir:bundle/vim-tabpagecd name:vim-tabpagecd remote:origin type:git url:https://github.com/kana/vim-tabpagecd branch:master
@@ -59,16 +56,30 @@ active:1 version:de7de799d8fcba459aad75d49a21a9349ce088bf dir:bundle/vim-textobj
active:1 version:a543539f45b45afb449b36befd209b2864a91b47 dir:bundle/vim-textobj-function-javascript name:vim-textobj-function-javascript remote:origin type:git url:https://github.com/thinca/vim-textobj-function-javascript branch:master
active:1 version:22842e725e26795bb9b068e6c6344ffce3f84baf dir:bundle/vim-textobj-function-perl name:vim-textobj-function-perl remote:origin type:git url:https://github.com/thinca/vim-textobj-function-perl branch:master
active:1 version:deb76867c302f933c8f21753806cbf2d8461b548 dir:bundle/vim-textobj-indent name:vim-textobj-indent remote:origin type:git url:https://github.com/kana/vim-textobj-indent branch:master
active:1 version:e23fc2cb977c9bf061aae133aa9a41f2488bd1af dir:bundle/vim-textobj-jabraces name:vim-textobj-jabraces remote:origin type:git url:https://github.com/kana/vim-textobj-jabraces branch:master
active:1 version:a3054162c09bcf732624f43ddacbd85dad09713b dir:bundle/vim-textobj-user name:vim-textobj-user remote:origin type:git url:https://github.com/kana/vim-textobj-user branch:master
active:1 version:79eb95aa4dd24a818799f770c346cd995f06dd10 dir:bundle/vim-themis name:vim-themis remote:origin type:git url:https://github.com/thinca/vim-themis branch:master
active:1 version:eeeb1739ded6e7ff9108c21fb47966a2320eaea0 dir:bundle/vim-vimlint name:vim-vimlint remote:origin type:git url:https://github.com/syngan/vim-vimlint branch:master
active:1 version:a18cd0e7a03311ac709595c1d261ed44b45c9098 dir:bundle/vim-visualstar name:vim-visualstar remote:origin type:git url:https://github.com/thinca/vim-visualstar branch:master
active:1 version:199cc37c8ddddd153cbc1a747f7fc15d64cd9f65 dir:bundle/vimdoc-ja name:vimdoc-ja remote:origin type:git url:https://github.com/vim-jp/vimdoc-ja branch:master
active:1 version:e12f415d9263b50777fdf03e6e6fcfca162819e2 dir:bundle/vimproc name:vimproc remote:origin type:git url:https://github.com/Shougo/vimproc branch:master
active:1 version:ba9ce13a5c9910d58f8be03d90a07da7fafe7166 dir:bundle/vital.vim name:vital.vim remote:origin type:git url:https://github.com/vim-jp/vital.vim branch:web/uri/implement-todo
active:1 version:16d59da0bedb9a110a8acc62e31657c5ca76219e dir:bundle/vivacious.vim name:vivacious.vim remote:origin type:git url:https://github.com/tyru/vivacious.vim.git branch:master
active:1 version:aa075b9b56839e1adb08421d2e9837f90e59acad dir:bundle/vimproc name:vimproc remote:origin type:git url:https://github.com/Shougo/vimproc branch:master
active:1 version:c90955aa94561dd54d68cd963f41f78c215da944 dir:bundle/vital.vim name:vital.vim remote:origin type:git url:https://github.com/vim-jp/vital.vim branch:web/uri/implement-todo
active:1 version:45630dfb84ffc4d0f87054b6cd7cf6ca610da29e dir:bundle/vivacious.vim name:vivacious.vim remote:origin type:git url:https://github.com/tyru/vivacious.vim.git branch:master
active:1 version:dfc60635e610f9200646a84d11887af9e3d50b10 dir:bundle/webapi-vim name:webapi-vim remote:origin type:git url:https://github.com/mattn/webapi-vim branch:master
active:1 version:b130f24277e3c6a5afa3984921516b0a83b31d28 dir:bundle/previm name:previm remote:origin type:git url:https://github.com/kannokanno/previm branch:master
active:1 version:478b217d299b6f5938b43a4929d6bb0907cc3a56 dir:bundle/vim-trailing-whitespace name:vim-trailing-whitespace remote:origin type:git url:https://github.com/bronson/vim-trailing-whitespace branch:master
active:1 version:8ec90adc65257115227e8e724a7509efd920b3f6 dir:bundle/quickey.vim name:quickey.vim remote:origin type:git url:https://github.com/tyru/quickey.vim branch:master
active:0 version:e25473061bdca0aa7ca2fa17968dd0eff82eaff6 dir:bundle/vim-vimlint name:vim-vimlint remote:origin type:git url:https://github.com/syngan/vim-vimlint branch:master
active:0 version:8235a27309929c9eefe89b86027f3c8059e77872 dir:bundle/vim-vimlparser name:vim-vimlparser remote:origin type:git url:https://github.com/ynkdir/vim-vimlparser branch:master
active:1 version:d2f1f5ba91fc144b8611c7bba35cea4066e88297 dir:bundle/vmock name:vmock remote:origin type:git url:https://github.com/kannokanno/vmock branch:master
active:1 version:03c59f648fcadd415fc91d7b100cf48bd0a55fac dir:bundle/vim-niceblock name:vim-niceblock remote:origin type:git url:https://github.com/kana/vim-niceblock branch:master
active:1 version:1345a556a321a092716e149d4765a5e17c0e9f0f dir:bundle/vim-operator-replace name:vim-operator-replace remote:origin type:git url:https://github.com/kana/vim-operator-replace branch:master
active:1 version:1200f05badc4cba2f35a7df93cbce8393fd30003 dir:bundle/vim-textobj-underscore name:vim-textobj-underscore remote:origin type:git url:https://github.com/lucapette/vim-textobj-underscore branch:master
active:1 version:9a970d68d7e3f2134a079329e6f5bcf331cd7262 dir:bundle/operator-camelize.vim name:operator-camelize.vim remote:origin type:git url:https://github.com/tyru/operator-camelize.vim branch:master
active:1 version:88f6e5c42b6c532eabcd5e8c3738c3acc3dce7b5 dir:bundle/vim-lastplace name:vim-lastplace remote:origin type:git url:https://github.com/dietsche/vim-lastplace branch:master
active:1 version:b4b6f786f2ff96ed0a8c9f2db822212625a222f4 dir:bundle/vim-gista name:vim-gista remote:origin type:git url:https://github.com/lambdalisue/vim-gista branch:master
active:1 version:e2cc8a661bb3f3215fddf58549913c5115f585bd dir:bundle/vim-localrc name:vim-localrc remote:origin type:git url:https://github.com/thinca/vim-localrc branch:master
active:1 version:55bb439e5834515e7def35484f9ed08738fb9dc5 dir:bundle/stoptypofile.vim name:stoptypofile.vim remote:origin type:git url:git@github.com:tyru/stoptypofile.vim.git branch:master
active:1 version:765c65d1b27ba771102aa3cd775e13c6095f7ae5 dir:bundle/closesubwin.vim name:closesubwin.vim remote:origin type:git url:git@github.com:tyru/closesubwin.vim.git branch:master
active:1 version:1832bac55d3a96048d3f010d69b90f4671b805fc dir:bundle/markdown-codehl-onthefly.vim name:markdown-codehl-onthefly.vim remote:origin type:git url:git@github.com:tyru/markdown-codehl-onthefly.vim.git branch:master
active:1 version:de42c8a325fa964f0e3031fe0c029e7437195106 dir:bundle/vim-markdown name:vim-markdown remote:origin type:git url:https://github.com/tpope/vim-markdown branch:master
active:1 version:1d9ef6ef40b4de6ce2c973b3e8dc1d521ddcb274 dir:bundle/vim-singleton name:vim-singleton remote:origin type:git url:https://github.com/thinca/vim-singleton branch:master
active:1 version:a3f3c8b8109183e7bd75d609e29e63b61617549e dir:bundle/share-cmdline-history.vim name:share-cmdline-history.vim remote:origin type:git url:https://github.com/tyru/share-cmdline-history.vim branch:master
@@ -3,10 +3,6 @@ scriptencoding utf-8
let s:save_cpo = &cpo
set cpo&vim
if globpath(&rtp, 'autoload/tyru/util.vim') == ''
finish
endif
" Do not search from header
setlocal complete-=i
setlocal complete-=d
@@ -0,0 +1,11 @@
" vim:foldmethod=marker:fen:
scriptencoding utf-8
let s:save_cpo = &cpo
set cpo&vim
setlocal includeexpr=substitute(v:fname,'^\\/','','')
setlocal path+=;/
let b:undo_ftplugin = 'setlocal includeexpr< path<'
let &cpo = s:save_cpo
@@ -3,7 +3,7 @@ scriptencoding utf-8
let s:save_cpo = &cpo
set cpo&vim
setlocal tabstop=2 shiftwidth=0
setlocal tabstop=4
let b:undo_ftplugin = 'setlocal tabstop< shiftwidth<'
let &cpo = s:save_cpo
@@ -0,0 +1,42 @@
scriptencoding utf-8
let s:save_cpo = &cpo
set cpo&vim
let s:closesubwin = vivacious#bundleconfig#new()
" Configuration for closesubwin.
function! s:closesubwin.config()
Map -remap [n] <excmd>ch <Plug>(closesubwin-close-help)
Map -remap [n] <excmd>cq <Plug>(closesubwin-close-quickfix)
Map -remap [n] <excmd>cu <Plug>(closesubwin-close-unlisted)
" Close first matching window in above windows.
Map -remap [n] <excmd>cc <Plug>(closesubwin-close-sub)
endfunction
" Plugin dependencies for closesubwin.
function! s:closesubwin.depends()
return []
endfunction
" Recommended plugin dependencies for closesubwin.
" If the plugins are not installed, vivacious shows recommended plugins.
function! s:closesubwin.recommends()
return []
endfunction
" External commands dependencies for closesubwin.
" (e.g.: curl)
function! s:closesubwin.depends_commands()
return []
endfunction
" Recommended external commands dependencies for closesubwin.
" If the plugins are not installed, vivacious shows recommended commands.
function! s:closesubwin.recommends_commands()
return []
endfunction
let &cpo = s:save_cpo
unlet s:save_cpo
@@ -7,6 +7,16 @@ let s:fugitive = vivacious#bundleconfig#new()
" Configuration for fugitive.
function! s:fugitive.config()
MapAlterCommand gad[d] Git add
MapAlterCommand gam[end] Gcommit -v --amend
MapAlterCommand gch[eckout] Git checkout
MapAlterCommand gco[mmit] Gcommit -v
MapAlterCommand gd[iff] Gdiff
MapAlterCommand gi[t] Git
MapAlterCommand gst[atus] Gstatus
" :help fugitive-revision
MapAlterCommand gsh[ow] Gsplit HEAD^{}
augroup vimrc-fugitive
autocmd!
autocmd VimEnter *
@@ -0,0 +1,38 @@
scriptencoding utf-8
let s:save_cpo = &cpo
set cpo&vim
let s:gista = vivacious#bundleconfig#new()
" Configuration for gista.
function! s:gista.config()
let g:gista#command#post#open_browser = 1
endfunction
" Plugin dependencies for gista.
function! s:gista.depends()
return []
endfunction
" Recommended plugin dependencies for gista.
" If the plugins are not installed, vivacious shows recommended plugins.
function! s:gista.recommends()
return []
endfunction
" External commands dependencies for gista.
" (e.g.: curl)
function! s:gista.depends_commands()
return []
endfunction
" Recommended external commands dependencies for gista.
" If the plugins are not installed, vivacious shows recommended commands.
function! s:gista.recommends_commands()
return []
endfunction
let &cpo = s:save_cpo
unlet s:save_cpo
@@ -13,8 +13,4 @@ function! s:config.config()
" Map -expr [i] <C-y> neocomplete#close_popup()
" Map -expr [i] <CR> pumvisible() ? neocomplete#close_popup() . "\<CR>" : "\<CR>"
" Map -remap [is] <C-t> <Plug>(neocomplete_snippets_expand)
highlight Pmenu ctermbg=8 guibg=#606060
highlight PmenuSel ctermbg=1 guifg=#dddd00 guibg=#1f82cd
highlight PmenuSbar ctermbg=0 guibg=#d6d6d6
endfunction
@@ -1,10 +1,8 @@
let s:config = vivacious#bundleconfig#new()
function! s:config.config()
" SuperTab like snippets' behavior.
Map -remap -expr [i] <Tab> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: pumvisible() ? "\<C-n>" : "\<Tab>"
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<Tab>"
Map -remap -expr [s] <Tab> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: "\<Tab>"
Oops, something went wrong.

0 comments on commit 641ef8a

Please sign in to comment.