From 6705f0e81da634510d5d847f649de2273c8a3c5b Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Fri, 1 Aug 2025 16:52:52 +0200 Subject: [PATCH] devlog: smarter insert line functions --- content/devlog/2025.smd | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/devlog/2025.smd b/content/devlog/2025.smd index e08660b..e92ff8a 100644 --- a/content/devlog/2025.smd +++ b/content/devlog/2025.smd @@ -15,6 +15,15 @@ them. You can [subscribe to this page via RSS]($link.page('devlog').alternative('rss')) and find more devlog entries in the [archive](/devlog/). +## [smarter insert line functions]($section.id("2025-08-01T16:48:44+02:00")) + +Today's feature of the day is a small quality-of-life fix. The +`smart_insert_line*` family of commands will now collapse trailing whitespace +automatically on the line being left during the operation. This helps a lot +when inserting blank lines in indentend code or working with indented text in +markdown. + + ## [indent_mode]($section.id("2025-07-30T22:03:50+02:00")) There is now a new configuration option `indent_mode`. This can be set to `"auto"`, `"spaces"` or