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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow escaping the less-than button? #27

Open
sebastinas opened this issue Sep 27, 2023 · 0 comments
Open

Allow escaping the less-than button? #27

sebastinas opened this issue Sep 27, 2023 · 0 comments

Comments

@sebastinas
Copy link
Member

On GitLab by @user202729 on Sep 27, 2023, 08:28


Currently, because of how the argument parsing of feedkeys is done https://git.pwmt.org/pwmt/girara/-/blob/develop/girara/shortcuts.c#L570-603 , it appears impossible to send literally the string <F1> for example. Common escapes like \<F1> or <lt>F1> doesn't work.

These two usually works in Vim. I suggest implementing some option, for which <Less> or <S-,> appear to be the easiest and least likely to break some existing configuration.

 2.  A backslash is represented with "\\", double backslash, or "<Bslash>".
 3.  A real '<' is represented with "\<" or "<lt>".  When there is no
     confusion possible, a '<' can be used directly.
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

1 participant