diff --git a/src/keybind/builtin/emacs.json b/src/keybind/builtin/emacs.json index 31bbb5a..aa203af 100644 --- a/src/keybind/builtin/emacs.json +++ b/src/keybind/builtin/emacs.json @@ -1,21 +1,35 @@ { "normal": { "press": [ - ["ctrl+a", "smart_move_begin"], + ["ctrl+g", "cancel"], + ["ctrl+shift+-", "undo"], + ["ctrl+a", "move_begin"], + ["ctrl+k", ["select_end"], ["cut"]], + ["alt+shift+,", "move_buffer_begin"], + ["alt+shift+.", "move_buffer_end"], ["ctrl+e", "move_end"], ["ctrl+b", "move_left"], ["ctrl+f", "move_right"], ["ctrl+s", "find"], ["ctrl+p", "move_up"], ["ctrl+n", "move_down"], + ["ctrl+v", "move_page_down"], + ["alt+v", "move_page_up"], + ["ctrl+y", "system_paste"], ["ctrl+x>ctrl+f", "open_file"], + ["ctrl+x>k", "close_file"], ["ctrl+x>ctrl+c", "quit"], - ["ctrl+x>ctrl+s", "save"], + ["ctrl+x>ctrl+s", "save_file"], ["ctrl+x>ctrl+c", "quit"], ["ctrl+x>b", "open_recent"], ["alt+x", "open_command_palette"] ] - }, + }, + "mini/file_browser": { + "press": [ + ["alt+backspace", "mini_mode_delete_to_previous_path_segment"] + ] + }, "home": { "on_match_failure": "ignore", "press": [