kevinhwang91 / nvim-ufo

Not UFO in the sky, but an ultra fold in Neovim.
BSD 3-Clause "New" or "Revised" License
2.16k stars 37 forks source link

How to fold/unfold current line #147

Closed Pezhvak closed 10 months ago

Pezhvak commented 10 months ago

Feature description

I'm sorry to create an issue for this, but i cannot figure it out,

zM az zR folds and unfolds all the lines, i want to create a keymap to fold and unfold current line, like the arrows does in the foldcolmun.

also, thank you for this repo 👍🏻

Describe the solution you'd like

an internal command or a workaround to have the arrow functionality in the foldcolumn executable with a keyboard shortcut.

Additional context

No response

kevinhwang91 commented 10 months ago

h foldopen h foldclose h foldclosed()