Reading formatting for Vim.
I occasionally like to read longer-form prose text files in Vim. This ftplugin:
- Displays prose in a reasonable manner.
- Maps j/k to select paragraphs.
- Maps space bar to scroll such that a full screen of unread text is displayed.
- Highlights each paragraph with cursorline while hiding the cursor itself.
I recommend installing with pathogen.
Run :setf reading
in a buffer you want to read.
The format assumed is single-line paragraphs with a blank line separating each paragraph.