antonk52 / markdowny.nvim

Markdown like keymaps for toggling text formatting
73 stars 7 forks source link

Could Markdowny work with the cursor on words & phrases without visually selecting them? #13

Open YousufSSyed opened 1 month ago

YousufSSyed commented 1 month ago

In Obsidian, I could write this phrase in bold, and with the cursor anywhere between this and phrase, I could unbold the whole phrase by pressing CTRL B.

antonk52 commented 1 month ago

Hi. I theory this is possible though I'd say that falls outside of the scope of this plugin. The plugin aims to add functionality of most common to non vim editors.

Are there other editors that can do this toggling without a visual selection besides Obsidian? If this is something common among modern editors/messengers than I would be happy to change my stance on it.

I can still see issues with it such as not wanting to use ctrl+i in normal mode which is used to italics, as it is the same as pressing tab key for historical terminal emulator reasons.