I want to set a limit for the use of e. Basically e is for jumping forward to the end of words, but I do not want to go to the next line. I just want to jump to the end of all the words in the current line and finally stop at the end of the current line. How can we write a function for this in lua for Neovim?

  • Why not use $ to jump directly to the last character in the line?
    – wxz
    Apr 2 at 21:14
  • This might be doable by changing whichwrap
    – D. Ben Knoble
    Apr 2 at 21:21
  • @wxz I want to combine them. Apr 3 at 9:11


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.