You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello 👋
I made a mods helper ~1year ago, and use it everywhere in my config to simplify writing the mods string.
https://github.com/bew/dotfiles/blob/d1f6676f1fc760941060ea3040d44ae3f42a2dd5/gui/wezterm/cfg_utils.lua#L1-L21
It's a small table with custom metatable that allows me to write mods string is very compact way:
mods._
for"NONE"
mods.CA
for"CTRL|ALT"
mods.DS
for"SUPER|SHIFT"
mods._
might feels un-necessary but I mainly use it to have some vertical alignments of my keybinds, to have all mods/keys/actions aligned.Since it's quite focused to doing one thing I was wondering if you'd accept it as
wezterm.mods
?Beta Was this translation helpful? Give feedback.
All reactions