zen-mode.nvim icon indicating copy to clipboard operation
zen-mode.nvim copied to clipboard

feature: ZenMode on selected text - aka ZenMode + narrow region

Open sotte opened this issue 2 years ago • 2 comments

Did you check the docs?

  • [X] I have read all the zen-mode.nvim docs

Is your feature request related to a problem? Please describe.

I want to focus on a subset of the buffer I work on. Or alternatively, I don't want to hide parts of the buffer I focus on.

ZenMode shows the whole buffer though.

Describe the solution you'd like

  • I visual select the part of the buffer I'm interested in
  • call :ZenMode
  • have a zen experience only for the selected code
  • quite ZenMode and the (potentially changed) text is synced with the original buffer

Describe alternatives you've considered

There is the old vim plugin NrrwRgn https://github.com/chrisbra/NrrwRgn

true-zen has a similar feature, but true-zen has more visual clutter and is not as smooth as zen-mode.nvim. https://github.com/Pocco81/true-zen.nvim

Additional context

No response

sotte avatar Jun 16 '23 19:06 sotte

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 06 '24 01:07 github-actions[bot]

I still think this would be a great feature and I miss it. But I can understand if this ticket gets closed due to lack of resources. It's a "nice to have" in the end.

sotte avatar Jul 06 '24 07:07 sotte

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 07 '24 01:08 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Aug 14 '24 01:08 github-actions[bot]