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

:map command should give an error if given extraneous unused argument #44

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

Comments

@sebastinas
Copy link
Member

On GitLab by @user202729 on Sep 27, 2023, 04:14


As far as I can see, if I write

:map <F7> set highlight-transparency 1

then the highlight-transparency is considered the optional argument for :set shortcut function, and the 1 is silently dropped.

I suggest raising an error if there's an extraneous argument instead.

(or maybe do something useful with it? For example it's possible to implement :map <F7> set "highlight-transparency 1" | focus_inputbar / to map one key to execute two shortcut functions?)

@sebastinas sebastinas transferred this issue from pwmt/zathura May 15, 2024
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