lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Is there a way to unmap a key (or map it to none etc) ?

Open mckellygit opened this issue 4 years ago • 1 comments

Thank you for lazygit, it is awesome. I really just have a question if this is possible and if so how to do it - Suppose I wanted to not have <esc> quit - do I have to map to something else I seldom use ? Or can I 'unmap' it, or map it to a no-op / none method etc. ?

thx, -m

mckellygit avatar Jan 17 '21 14:01 mckellygit

In this case, you would indeed need to map to a key you seldom use. We probably should allow for 'unmapping' keys.

jesseduffield avatar Sep 25 '21 03:09 jesseduffield

We allow unmapping keys by setting the key to null - docs.

mark2185 avatar Jun 28 '23 09:06 mark2185