lucc / nvimpager

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

Edit the file being viewed #60

Closed tthkbw closed 2 years ago

tthkbw commented 2 years ago

I don't see an option for editing the file being viewed when using nvimpager. Am I missing it?

If it's not available, could it be?

lucc commented 2 years ago

In fact you are inside neovim after nvimpager opens. Nvimpager justs sets some options like "readonly" and "nonḿodifable". Unset these and start editing.