Skip to content

Allow escaping the less-than button? #27

Description

@sebastinas

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions