Fix a typo that broke addition of default mouse mappings in gen-config
Also update options/types.py with new action name
This commit is contained in:
parent
1ec07eb17a
commit
65b2ca8f57
@ -568,7 +568,7 @@ class Definition:
|
|||||||
for x in self.iter_all_non_groups():
|
for x in self.iter_all_non_groups():
|
||||||
if isinstance(x, ShortcutMapping) and which in ('map', '*'):
|
if isinstance(x, ShortcutMapping) and which in ('map', '*'):
|
||||||
yield x
|
yield x
|
||||||
elif isinstance(x, MouseMapping) and which == ('mouse_map', '*'):
|
elif isinstance(x, MouseMapping) and which in ('mouse_map', '*'):
|
||||||
yield x
|
yield x
|
||||||
|
|
||||||
def parser_func(self, name: str) -> Callable:
|
def parser_func(self, name: str) -> Callable:
|
||||||
|
|||||||
2
kitty/options/types.py
generated
2
kitty/options/types.py
generated
@ -773,7 +773,7 @@ defaults.map = [
|
|||||||
# reset_font_size
|
# reset_font_size
|
||||||
KeyDefinition(False, KeyAction('change_font_size', (True, None, 0.0)), 1024, False, 57347, ()),
|
KeyDefinition(False, KeyAction('change_font_size', (True, None, 0.0)), 1024, False, 57347, ()),
|
||||||
# open_url
|
# open_url
|
||||||
KeyDefinition(False, KeyAction('kitten', ('hints',)), 1024, False, 101, ()),
|
KeyDefinition(False, KeyAction('open_url_with_hints'), 1024, False, 101, ()),
|
||||||
# insert_selected_path
|
# insert_selected_path
|
||||||
KeyDefinition(True, KeyAction('kitten', ('hints', '--type path --program -')), 1024, False, 112, (SingleKey(mods=0, is_native=False, key=102),)),
|
KeyDefinition(True, KeyAction('kitten', ('hints', '--type path --program -')), 1024, False, 112, (SingleKey(mods=0, is_native=False, key=102),)),
|
||||||
# open_selected_path
|
# open_selected_path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user