Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputting the "agda input prefix" as a literal #148

Open
googleson78 opened this issue May 7, 2024 · 3 comments
Open

Inputting the "agda input prefix" as a literal #148

googleson78 opened this issue May 7, 2024 · 3 comments

Comments

@googleson78
Copy link
Contributor

If I set my agda input prefix to e.g. v, how can I input a v? My current prefix is a backtick, and I cannot figure out how to input a backtick into my code 馃槄

@googleson78
Copy link
Contributor Author

(backtick is also my localleader, if that's relevant)

@isovector
Copy link
Owner

I don't think there's any way, today! I'm open to suggestions for what you'd like to happen, though.

@googleson78
Copy link
Contributor Author

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

inoremap asdf ...

and then input an a while in insert mode, you'll eventually get the a input as a character after waiting for a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants