Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Please clarify: You want g to both (1) perform navigation as soon as you hit it and (2) wait for you to hit l and then invoke evil-end-of-line instead? You could perhaps use sit-for and after that delay (i.e., if no user input) then use the usual g command, else, if l is hit within that delay use your eol command. Commented Apr 29, 2020 at 16:40
  • @Drew g is the start of navigation for many commands in evil. So I want to use the combination that isn't bound to any other command: g l. But because g is the prefix for other evil commands, I'm unable to use it with another combo. I still want to keep other g ... commands like gg without a delay. Commented Apr 30, 2020 at 5:16
  • Please put such clarifying info in the question itself. Comments can be deleted at any time. Thx. Commented Apr 30, 2020 at 15:06