gauteh / vim-cppman

Plugin for use of cppman ("C++ 98/11/14 manual pages for Linux/MacOS" ) from within Vim
37 stars 16 forks source link

always split to the right with shift-k #3

Open laoshaw opened 3 years ago

laoshaw commented 3 years ago

tried with :set splitbelow and can never make it work, always split to the right but I want to have it below.

laoshaw commented 3 years ago

looks like pipx install cppman will use its own cppman.vim under python's site-packages instead of suing ~/.vim/plugged/vim-cppman's cppman.vim? how do they relate?

gauteh commented 3 years ago

This plugin is heavily based on cppman.vim, but instead of vim being used as a pager from cppman this plugin uses cppman to show the docs in the existing vim session. Regarding the splitting: there might be some hardcoded split-right behaviour in this plugin.

laoshaw commented 3 years ago

thanks. it seems cppman uses its own cppman.vim and ignores the cppman.vim under $HOME/.vim/plugged/vim-cppman? I compared and these two same-name cppman.vim are different.