Multiple keybindings per bindsym command?
I'm a lazy, lazy (lazy) man.
I'm so lazy that I sometimes forget to lift my finger off of $mod when I enter a mode, so I like my bindings to cover both $key and $mod+$key.
My config therefore repeats a a bit bit:
set $mode_resize "RESIZE [←]width- [→]width+ [↑]height+ [↓]height-"
bindsym $mod+r mode $mode_resize
mode $mode_resize {
bindsym Up resize grow height 10 px or 10 ppt
bindsym $mod+Up resize grow height 10 px or 10 ppt
bindsym Down resize shrink height 10 px or 10 ppt
bindsym $mod+Down resize shrink height 10 px or 10 ppt
bindsym Left resize shrink width 10 px or 10 ppt
bindsym $mod+Left resize shrink width 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym $mod+Right resize grow width 10 px or 10 ppt
...
I don't mind too much, as I keep things aligned so I can edit multiple lines painlessly in vim, but:
Is there a way for a single bindsym command to bind to 2 symbols? Some form of bindsym {Right,$mod+Right} command
?