| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A shell for DevDocs.
I liked DevDocs and wanted to use it from VIM. I've tried browser automation with Chromium and separate profile with --remote-shell-port, but that didn't work out so I made this script.
Just run devdocs.py. If you provide an argument then first argument will be searched (all other arguments are ignored).
Just add this to your .vimrc:
command! -nargs=? DevDocs :call system('devdocs.py <args> &')
au FileType python,ruby,javascript,html,php,eruby,coffee nmap <buffer> K :exec "DevDocs " . fnameescape(expand('<cword>'))<CR>
You'll have a command DevDocs and supported languages with use it for providing help (K in normal mode, usually runs man).
NOTE: devdocs.py doesn't go to background hence one needs to use & (shell background job) and its not supported on Win32.
| Back | FazBrowse Home | New Git URL |