mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Add some more default keybindings for the hints kitten
This commit is contained in:
@@ -16,8 +16,8 @@ defns = defaultdict(list)
|
||||
for line in open('kitty/kitty.conf'):
|
||||
if line.startswith('map '):
|
||||
_, sc, name = line.split(maxsplit=2)
|
||||
name = name.rstrip().replace(' ', '_')
|
||||
defns[name].append('`' + sc + '`')
|
||||
name = name.rstrip().replace(' ', '_').replace('-', '_')
|
||||
defns[name].append('`' + sc.replace('>', ' → ') + '`')
|
||||
|
||||
defns = [
|
||||
':sc_{}: pass:quotes[{}]'.format(name, ' or '.join(defns[name]))
|
||||
|
||||
Reference in New Issue
Block a user