lucc / nvimpager

Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting
Other
386 stars 20 forks source link

Cannot close last window when hitting q #58

Closed W4RH4WK closed 2 years ago

W4RH4WK commented 2 years ago

I've update nvimpager to verison v0.10.3 and I can no longer close man pages directly by pressing q.

lucc commented 2 years ago

This was also reported in #56 (but that is not clear from the title so thanks for the report)

The quickfix mentioned there is to set let g:no_man_maps = v:true in ~/.config/nvimpager/init.vim.

I have also been working on a better fix. Maybe you want to test the fix/man-mappings branch (34cc65a)? (info also for @mrdgo)

W4RH4WK commented 2 years ago

34cc65a works fine for me.