jakewvincent / mkdnflow.nvim

Fluent navigation and management of markdown notebooks
GNU General Public License v3.0
654 stars 37 forks source link

Should link insertion account for all non-white characters in normal mode? #206

Open helins opened 3 months ago

helins commented 3 months ago

For instance, given a cursor anywhere in bar on the Word foo/bar, inserting a link in normal mode will result in foo/[bar](bar.md). Arguably, the desired behavior should be [foo/bar](foo/bar.md).

I think it is safe to extend the capture to any non-whitespace character around the cursor.