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
+14
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,20 @@ Individual keys can be disabled by binding them to the `no_op` command.
53
53
54
54
To remove the default bindings for all modes defined by the user, `unbind-default-keys = true` can be added to the top level configuration.
55
55
56
+
```toml
57
+
unbind-default-keys = true
58
+
59
+
# Only these normal mode bindings will be used
60
+
[keys.normal]
61
+
n = "normal_mode"
62
+
t = "goto_definition"
63
+
64
+
# No select mode bindings will be used
65
+
[keys.select]
66
+
67
+
# All default insert mode bindings will be used because new bindings weren't defined
68
+
```
69
+
56
70
Commands can be found at [Keymap](https://docs.helix-editor.com/keymap.html) Commands.
57
71
58
72
> Commands can also be found 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