Skip to content

Commit 37c93d8

Browse files
authored
docs: Add missing base_keymap option in configuring-zed.md (#18190)
Added `base_keymap`, an option that works in the editor but is missing from the documentation. Release Notes: - N/A
1 parent e7fcf83 commit 37c93d8

File tree

2 files changed

+61
-3
lines changed

2 files changed

+61
-3
lines changed

assets/settings/default.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
// text editor:
1616
//
1717
// 1. "VSCode"
18-
// 2. "JetBrains"
19-
// 3. "SublimeText"
20-
// 4. "Atom"
18+
// 2. "Atom"
19+
// 3. "JetBrains"
20+
// 4. "None"
21+
// 5. "SublimeText"
22+
// 6. "TextMate"
2123
"base_keymap": "VSCode",
2224
// Features that can be globally enabled or disabled
2325
"features": {

docs/src/configuring-zed.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,62 @@ Extensions that provide language servers may also provide default settings for t
9393

9494
`boolean` values
9595

96+
## Base Keymap
97+
98+
- Description: Base key bindings scheme. Base keymaps can be overridden with user keymaps.
99+
- Setting: `base_keymap`
100+
- Default: `VSCode`
101+
102+
**Options**
103+
104+
1. VSCode
105+
106+
```json
107+
{
108+
"base_keymap": "VSCode"
109+
}
110+
```
111+
112+
2. Atom
113+
114+
```json
115+
{
116+
"base_keymap": "Atom"
117+
}
118+
```
119+
120+
3. JetBrains
121+
122+
```json
123+
{
124+
"base_keymap": "JetBrains"
125+
}
126+
```
127+
128+
4. None
129+
130+
```json
131+
{
132+
"base_keymap": "None"
133+
}
134+
```
135+
136+
5. SublimeText
137+
138+
```json
139+
{
140+
"base_keymap": "SublimeText"
141+
}
142+
```
143+
144+
6. TextMate
145+
146+
```json
147+
{
148+
"base_keymap": "TextMate"
149+
}
150+
```
151+
96152
## Buffer Font Family
97153

98154
- Description: The name of a font to use for rendering text in the editor.

0 commit comments

Comments
 (0)