indent-blankline.nvim icon indicating copy to clipboard operation
indent-blankline.nvim copied to clipboard

Is able to temporarily disable context change?

Open mcpeng opened this issue 3 years ago • 4 comments

Is it possible to temporarily disable context guide change while screen scrolling or cursor moving? I thinks that's useful for large context( higher than one screen ).

like VSCode does: vsc

"Vim requires the cursor to be in the current screen at all times" 🤔 https://stackoverflow.com/a/3458731

mcpeng avatar Aug 17 '22 17:08 mcpeng

I'm not sure I understand the question. You want to lock the context so it doesn't change even when you move outside?

lukas-reineke avatar Aug 17 '22 22:08 lukas-reineke

I'm not sure I understand the question. You want to lock the context so it doesn't change even when you move outside?

Yes, when the context higher than the screen; with locking the context guide line, I can easily check where the context starts or ends, or check whether some code lines are under the context.

Now, I use colorcolumn / multi colored guide lines for that situation, but it's not perfect.

mcpeng avatar Aug 18 '22 03:08 mcpeng

I see. This is currently not supported. I'll think about adding it in the future.

lukas-reineke avatar Aug 18 '22 04:08 lukas-reineke

😸 Thanks for your great job of indent-blankline.nvim

mcpeng avatar Aug 18 '22 06:08 mcpeng