At least not on my mac. it works fine in vim. is this simply an error in nvim?

  • 4
    When you insert a literal <S-F10> (<C-v><S-F10> in insert mode), what is displayed? On my system, with Vim, I see: ^[[21;2~. I can't use <S-F10> by default, because Vim doesn't recognize the previous sequence of keycodes, so I have to teach that it means <S-F10>. To do this, I have to write in my vimrc: silent! exe "set <S-F10>=\e[21;2~" The keycodes to the right of the equal sign are the same as the ones displayed when inserting a literal <S-F10>. Except for the leading ^[ which must be replaced by \e (escape keycode). After that I can use <S-F10>. Maybe that will help. Mar 26 '16 at 7:42
  • @user9433424, thank you! that solved it. in nvim, shifting turns f1 to f13, etc.
    – Toothrot
    Mar 26 '16 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.