stickybuf.nvim icon indicating copy to clipboard operation
stickybuf.nvim copied to clipboard

Disallow edit alternate (`<C-^>`/`<C-6>`)

Open ashb opened this issue 1 year ago • 0 comments

Did you check existing requests?

  • [X] I have searched the existing issues

Describe the feature

I could do this by just unmapping on the various buffer types, but I would like a way to disable the edit alternate hot key on pinned buffers, specifically a buftype="terminal" buffer, where I don't want normal mode Ctrl-6 (which in vim is one of the build in/standard mappings) to change the buffer.

Provide background

No response

What is the significance of this feature?

nice to have

Additional details

I have confirmed that the buffer is pinned (lua= require'stickybuf'.is_pinned())

ashb avatar Apr 29 '24 08:04 ashb