Quick Notes

Collection of helpful notes that don't require a standalone article

File specific settings for Vim

Called modal lines, one can place these at the top of any text file and vim will read those settings when opening that file. To make editing the html file for this blog post easier, I have at the top # vim: set wrap: which wraps the text when it gets to the end of the buffer. To make vim aware of the folds in my sway config, I added the line.# vim:fileencoding=utf-8:ft=conf:foldmethod=marke Now I can indicate folds with {{{ and }}} and any vim editor will recognize them with no configuration needed