Skip Navigation

What is the default mapping for Ctrl-h in Insert Mode?

I have Ctrl-h mapped to move to the pane left of current in Normal Mode. If I forget that I'm in insert mode and do this, it just locked up Neovim and starts consuming processor until I force quit. I can't find what this mapping is trying to do and how to undo it. It occasionally causes me to lose work. Please help. :-)

EDIT: I just looked in my config to try to just add this binding to do the same thing in Insert Mode and discovered that that's what it's already supposed to do. I have CTRL-H mapped to , but all it does is lockup Neovim.

6

You're viewing a single thread.

6 comments
  • This isn't exactly a fix, but it keeps me from accidentally locking up my terminal and potentially losing work

    map('i', '', 'gj', {})
    map('i', '', 'gk', {})
    map('i', '', '', {})
    map('i', '', '', {})
    map('n', '', 'j', {})
    map('n', '', 'k', {})
    map('n', '', 'l', {})
    map('n', '', 'h', {})
    

    Now if I forget to leave Insert Mode, the cursor just moves to the left, and C-H in Normal Mode still works as expected.

    p.s. I commented the key_bindings in alacritty.yml

You've viewed 6 comments.