-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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:
# Launch vim read only, don't load config or plugins, disable (most of) the statusbar, set the filetype (no effect by itself) and an nmap to quit more easily
export MANPAGER='nvim -R -u NONE +":set laststatus=0 ft=man | nmap q :q!<CR>" -'
...and I tried to add this to it to load the plugin, but unfortunately it's not enough:
rtp^=~/.config/nvim/pack/minpac/start/vim-manpager ft=man
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.