💾 Archived View for envs.net › ~pen › gemini › vim.gmi captured on 2024-07-09 at 01:33:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

2021-09-29 Semantic markup

Gemtext paragraphs spanning multiple sentences must reside in a single line to be rendered accordingly. Compared to editing Markdown this asks the editor to be more knowledgable about keying in their textual content. Thus, Geminauts propose to configure vim with softwrapping long lines along word boundaries – maybe at given column width instead of the (terminal) window width:

:set wrap
:set linebreak
:set columns=80

Also navigating not just using keys hjkl but prefixed by g to only jump visual/soft lines. Or use these settings:

noremap <silent> <expr> j (v:count == 0 ? 'gj' : 'j')
noremap <silent> <expr> k (v:count == 0 ? 'gk' : 'k')

Thanks for the tips, people of Gemini, some pointers:

https://gerikson.com/blog/comm/Gemini-misaligned-incentives.html

https://lists.orbitalfox.eu/archives/gemini/2020/003315.html

https://lists.orbitalfox.eu/archives/gemini/2020/003311.html

-- @ 2021-09-29