regolith-linux / remontoire

A keybinding viewer for i3 and other programs.
GNU General Public License v3.0
68 stars 8 forks source link

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

Open emreakg opened 2 years ago

emreakg commented 2 years ago

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.