-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load the plugin manually? (thoughts) #1
Comments
I think there are two problems with that:
Instead of MANPAGER='vim -N --clean +"set rtp^=~/.vim/plugged/vim-manpager/after,~/.vim/plugged/vim-manpager ft=man | MANPAGER" --not-a-term -' But
Using an alternate vimrc file might be the least messy option. For example, with Vim I would do something like: export MANPAGER='vim -u ~/.vim/vimrc-man --not-a-term +MANPAGER -' " ~/.vim/vimrc-man
set nocompatible
filetype plugin on
set rtp^=~/.vim/plugged/vim-manpager/after,~/.vim/plugged/vim-manpager That last line is pretty much what vim-plug does, I think. But this doesn't work with NeoVim either. With a bit of trial and error, this seems to work:
|
Thanks a lot for your thoughts and solutions! Been experimenting a bit since then. With Sourcing your files seems to work okay though:
|
Hi!
Interesting project!
I tried it out and I like it, but I realized that using vim as a manpager was rather slow compared to
less
, so I tried disabling all plugins + not reading my vimrc at all (especially because of the lines that depend on plugins) which helped a great deal in startup speed, and it also seems to make sense, as most of my plugins are for editing.But of course there's one issue with that: This plugin no longer loads, and so I have to add lines to create the nmap and such.
Another issue with is that there are then various ugly raw ANSI escapes around in the manpages.
So I was thinking whether anyone know if it's still possibly to manually load a plugin via commands?
Because your plugin currently isn't loading I currently have this:
...and I tried to add this to it to load the plugin, but unfortunately it's not enough:
Sourcing the ftplugin and after files seemingly don't make a difference either, or at least it doesn't reload it and display it properly.
The text was updated successfully, but these errors were encountered: