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

Switch load order of broot conf paths #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bratter
Copy link
Contributor

@bratter bratter commented Jan 15, 2025

Hi there, me again!

Here is a quick unsolicited PR for an issue I noticed while fixing some configs. Broot appends rather than overrides verbs, then appears to take the first matching keycode. So for instance if the user has defined a custom verb for Enter then the broot_vim `echo +{line} {file} won't end up getting used.

I flipped the order of the config imports in this PR to fix. This way, anything in broot_vim_conf gets loaded first and has priority.

Cheers,
Brendan

should load broot_vim_conf_path first because broot appends verbs but
takes the first matching keystroke, so loading vim conf first ensures
that these verbs override other configs with same keystrokes
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

Successfully merging this pull request may close these issues.

1 participant