You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: book/src/remapping.md
+18
Original file line number
Diff line number
Diff line change
@@ -75,5 +75,23 @@ Ctrl, Shift and Alt modifiers are encoded respectively with the prefixes
75
75
76
76
Keys can be disabled by binding them to the `no_op` command.
77
77
78
+
To remove all default bindings, `unbind-default-keys = true` can be added to the top level configuration.
79
+
80
+
```toml
81
+
unbind_default_keys = true
82
+
83
+
# Only these normal mode bindings will be used
84
+
[keys.normal]
85
+
n = "normal_mode"
86
+
t = "goto_definition"
87
+
88
+
# remember to add bindings to return to normal mode
89
+
[keys.select]
90
+
esc = "normal_mode"
91
+
92
+
[keys.insert]
93
+
esc = "normal_mode"
94
+
```
95
+
78
96
A list of commands is available in the [Keymap](https://docs.helix-editor.com/keymap.html) documentation
79
97
and in the source code at [`helix-term/src/commands.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs) at the invocation of `static_commands!` macro and the `TypableCommandList`.
0 commit comments