jez / vim-superman

Read Unix man pages faster than a speeding bullet!
http://blog.jez.io/2014/12/20/vim-as-a-man-page-viewer/
MIT License
190 stars 20 forks source link

First draft implementation of unite source for manpages #2

Closed andreicristianpetcu closed 9 years ago

andreicristianpetcu commented 9 years ago

I made a pull request for issue #1

andreicristianpetcu commented 9 years ago

install unite.vim and run :Unite manpage -start-insert

jez commented 9 years ago

As far as I can tell, everything looks good here. That being said, the central functionality of this plugin is to provide a command line wrapper around the $VIMRUNTIME/ftplugin/man.vim plugin bundled with Vim itself. Since I don't personally use Unite.vim, I'm wary of merging your pull request. I wouldn't be a very good maintainer. Is there a reason why this can't just be made into a standalone plugin?

andreicristianpetcu commented 9 years ago

I was hoping that instead of having several plugins that focus on reading man pages, it would be a one-stop-shop for this. I will make it intro a separate plugin if you wish.

Check out Unite.vim (check out my dotfiles to see what other plugins play well with Unite.vim). If it were one plugin that I recommend it would be Unite.vim. Somehow (probably by magic) unite outline show an outline of the man pages https://github.com/andreicristianpetcu/dotfiles/blob/c76e32a0fb4c41e4917c9af50ed495c01ec9a471/vimrc#L330-L332

jez commented 9 years ago

I think I'd rather have it in another plugin. If you do end up writing it, I'd love to link to it from here in the README, so let me know!