0

I am struggling to find a working keymap for ToggleTermSendVisualLines - every time I try for example <Leader>cl, it jumps to insert mode (also deleting the visual selection). The same happens with starting the keymap with s. Could you please suggest a working keymap and let me know why these fail to work?

paljenczy
  • 101
  • 1
  • 1
    Welcome to [vi.se]! Try How to debug a mapping, and note that if you don't have visual mode mappings on <leader>cl or s, it's probable you're getting v_c or v_s behavior, which is to delete the visual selection and start Insert mode. – D. Ben Knoble Dec 10 '22 at 17:38
  • Thanks a lot. The problem was that I copied from another map that was for normal mode, not visual. – paljenczy Dec 13 '22 at 09:12

0 Answers0