Permalink
Browse files

add dash.vim

  • Loading branch information...
Layzie committed Mar 19, 2013
1 parent 98a9236 commit 25fee3ac2f04b7f01f05610f45ea190f93c3afb1
Showing with 3 additions and 11 deletions.
  1. +3 −11 .vimrc
View
14 .vimrc
@@ -98,6 +98,7 @@ Bundle 'unite-font'
Bundle 'vcscommand.vim'
Bundle 'wavded/vim-stylus'
Bundle 'yuratomo/w3m.vim'
+Bundle 'rizzatti/dash.vim'
filetype plugin indent on
" PATHの設定
@@ -736,17 +737,8 @@ let g:ctrlp_buftag_types = {
\ },
\ }
-" for Dash
-function! s:dash(...)
- let ft = &filetype
- if &filetype == 'python'
- let ft = ft.'2'
- endif
- let ft = ft.':'
- let word = len(a:000) == 0 ? input('Dash search: ', ft.expand('<cword>')) : ft.join(a:000, ' ')
- call system(printf("open dash://'%s'", word))
-endfunction
-command! -nargs=* Dash call <SID>dash(<f-args>)
+" for dash.vim
+nmap <silent> <leader>d <Plug>DashDocset
" for vim-gitgutter
" turn off by default

0 comments on commit 25fee3a

Please sign in to comment.