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

wish: deduplicate entries that have the same category and action #19

Open
emreakg opened this issue Mar 20, 2022 · 0 comments
Open

wish: deduplicate entries that have the same category and action #19

emreakg opened this issue Mar 20, 2022 · 0 comments

Comments

@emreakg
Copy link

emreakg commented Mar 20, 2022

Currently, using the following comments creates two entries in remontoire with different keybindings:

## Session // Exit App // <><Shift> q ##
## Session // Exit App // <> q ##

I am using remontoire primarily with regolith. Therefore, I try my best not to modify i3 config directly for keybindings, and opt in to use Xresources to modiy keymappings instead.
What I wanted to do was add remontoire comments to my Xresources for only the mappings I modify, and then concatenate my i3 config with my Xresources for a complete remontoire cheatsheet.
cat ~/.config/regolith/i3/config ~/.config/regolith/Xresources | remontoire -i
This creates duplicate entries, unless I remove the comments in my i3 config.

I wish remontoire would only show only the last line for every category x action combination.

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