aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.29k stars 81 forks source link

VIM PAGER: set buftype=nofile #89

Closed DSsoto closed 5 years ago

DSsoto commented 5 years ago

This makes vim consider the buffer a scratch buffer so you can exit normally with :q even if the buffer changed.

It removes the [noperm] indicator as well. I figured vim users are used to exiting with :q and it gets annoying to be asked to save changes.