Merge branch 'main' into watch

This commit is contained in:
Paul Gauthier 2024-12-01 06:09:21 -08:00
commit 74108dd680
8 changed files with 168 additions and 138 deletions

View file

@ -430,6 +430,16 @@ class InputOutput:
"Ignore Ctrl when pressing space bar"
event.current_buffer.insert_text(" ")
@kb.add("c-up")
def _(event):
"Navigate backward through history"
event.current_buffer.history_backward()
@kb.add("c-down")
def _(event):
"Navigate forward through history"
event.current_buffer.history_forward()
@kb.add("escape", "c-m", eager=True)
def _(event):
event.current_buffer.insert_text("\n")