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.

  • Cipherd@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago
    :help i_CTRL-H
    
    <BS> or CTRL-H  Delete the character before the cursor (see i_backspacing                                                       about joining lines).
    
  • philwills@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    You probably already thought of this, but just in case, are you switching to normal before calling the command switch panes?

    inoremap &lt;silent> &lt;c-h> &lt;esc>:silent call TmuxMove('h')&lt;cr>
    

    Edit: if this doesn’t work I give up…