-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inputting the "agda input prefix" as a literal #148
Comments
(backtick is also my localleader, if that's relevant) |
I don't think there's any way, today! I'm open to suggestions for what you'd like to happen, though. |
The easiest way to get this, although a bit annoying, is to have a "timeout", i.e. if you press "agda input prefix" and wait for 1s, you just get the prefix input as a literal. This is what maps usually do in vim - if you do
and then input an |
Adding these two lines to the
This lets me insert the literal form of my I'm using Lua with NeoVim but I would assume that adding the equivalent VimScript would also work:
Also note that remapping |
Yes, I did exactly what @epeery did. But in the end I got annoyed at typing my localleader twice, so I just changed my I think maybe the secret is to set that value per file-type; I think in Agda I don't type my localleader much, so I don't mind it being that ( |
If I set my agda input prefix to e.g.
v
, how can I input av
? My current prefix is a backtick, and I cannot figure out how to input a backtick into my code 😅The text was updated successfully, but these errors were encountered: