Display form-feed characters (U+000C
) as horizontal dividers in source code.
Inspired by the MELPA package of the same name.
- Render form-feeds as horizontal dividers, as
\f
, or as^L
(caret notation) - Snippets for inserting form-feeds:
\f
,^L
- Editor commands (without default keybindings)
form-feeds:go-to-prev-feed
form-feeds:go-to-next-feed
form-feeds:strip-feeds
You can tweak the rendering of form-feed indicators using your stylesheet:
@import "packages/form-feeds/styles/variables.less";
// Thicker border
@{ff-border} @{ff-selector}::before{
border-top-width: 2px;
}
// Replace `^L` with a green `FF` when `placeholderStyle` is set to "caret"
@{ff-caret} @{ff-selector}::before{
content: "FF";
color: #0f0;
}