|
11 | 11 | { |
12 | 12 | "context": "Editor", |
13 | 13 | "bindings": { |
| 14 | + "alt-x": "command_palette::Toggle", |
14 | 15 | "ctrl-g": "editor::Cancel", |
15 | 16 | "ctrl-x b": "tab_switcher::Toggle", // switch-to-buffer |
| 17 | + "ctrl-x ctrl-b": "tab_switcher::Toggle", // list-buffers |
16 | 18 | "alt-g g": "go_to_line::Toggle", // goto-line |
17 | 19 | "alt-g alt-g": "go_to_line::Toggle", // goto-line |
18 | 20 | "ctrl-space": "editor::SetMark", // set-mark |
|
29 | 31 | "shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }], // move-beginning-of-line |
30 | 32 | "shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }], // move-end-of-line |
31 | 33 | "alt-m": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false, "stop_at_indent": true }], // back-to-indentation |
| 34 | + "alt-left": "editor::MoveToPreviousWordStart", // left-word |
| 35 | + "alt-right": "editor::MoveToNextWordEnd", // right-word |
32 | 36 | "alt-f": "editor::MoveToNextSubwordEnd", // forward-word |
33 | 37 | "alt-b": "editor::MoveToPreviousSubwordStart", // backward-word |
34 | 38 | "alt-u": "editor::ConvertToUpperCase", // upcase-word |
|
43 | 47 | "ctrl-x h": "editor::SelectAll", // mark-whole-buffer |
44 | 48 | "ctrl-d": "editor::Delete", // delete-char |
45 | 49 | "alt-d": ["editor::DeleteToNextWordEnd", { "ignore_newlines": false, "ignore_brackets": false }], // kill-word |
| 50 | + "alt-backspace": "editor::DeleteToPreviousWordStart", // backward-kill-word |
| 51 | + "alt-delete": "editor::DeleteToPreviousWordStart", // backward-kill-word |
46 | 52 | "ctrl-k": "editor::KillRingCut", // kill-line |
47 | 53 | "ctrl-w": "editor::Cut", // kill-region |
48 | 54 | "alt-w": "editor::Copy", // kill-ring-save |
|
52 | 58 | "ctrl-x u": "editor::Undo", // undo |
53 | 59 | "alt-{": "editor::MoveToStartOfParagraph", // backward-paragraph |
54 | 60 | "alt-}": "editor::MoveToEndOfParagraph", // forward-paragraph |
| 61 | + "ctrl-up": "editor::MoveToStartOfParagraph", // backward-paragraph |
| 62 | + "ctrl-down": "editor::MoveToEndOfParagraph", // forward-paragraph |
55 | 63 | "ctrl-v": "editor::MovePageDown", // scroll-up |
56 | 64 | "alt-v": "editor::MovePageUp", // scroll-down |
57 | 65 | "ctrl-x [": "editor::MoveToBeginning", // beginning-of-buffer |
58 | 66 | "ctrl-x ]": "editor::MoveToEnd", // end-of-buffer |
59 | 67 | "alt-<": "editor::MoveToBeginning", // beginning-of-buffer |
60 | 68 | "alt->": "editor::MoveToEnd", // end-of-buffer |
| 69 | + "ctrl-home": "editor::MoveToBeginning", // beginning-of-buffer |
| 70 | + "ctrl-end": "editor::MoveToEnd", // end-of-buffer |
61 | 71 | "ctrl-l": "editor::ScrollCursorCenterTopBottom", // recenter-top-bottom |
62 | 72 | "ctrl-s": "buffer_search::Deploy", // isearch-forward |
| 73 | + "ctrl-r": "buffer_search::Deploy", // isearch-backward |
63 | 74 | "alt-^": "editor::JoinLines", // join-line |
64 | 75 | "alt-q": "editor::Rewrap" // fill-paragraph |
65 | 76 | } |
|
85 | 96 | "end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }], |
86 | 97 | "ctrl-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }], |
87 | 98 | "ctrl-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }], |
| 99 | + "alt-m": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false, "stop_at_indent": true }], |
88 | 100 | "alt-f": "editor::SelectToNextWordEnd", |
89 | 101 | "alt-b": "editor::SelectToPreviousSubwordStart", |
| 102 | + "alt-{": "editor::SelectToStartOfParagraph", |
| 103 | + "alt-}": "editor::SelectToEndOfParagraph", |
| 104 | + "ctrl-up": "editor::SelectToStartOfParagraph", |
| 105 | + "ctrl-down": "editor::SelectToEndOfParagraph", |
| 106 | + "ctrl-x [": "editor::SelectToBeginning", |
| 107 | + "ctrl-x ]": "editor::SelectToEnd", |
90 | 108 | "alt-<": "editor::SelectToBeginning", |
91 | 109 | "alt->": "editor::SelectToEnd", |
| 110 | + "ctrl-home": "editor::SelectToBeginning", |
| 111 | + "ctrl-end": "editor::SelectToEnd", |
92 | 112 | "ctrl-g": "editor::Cancel" |
93 | 113 | } |
94 | 114 | }, |
|
0 commit comments