Skip to content

Commit e43ea4d

Browse files
authored
docs: update faq mapping ctrl i/o example for v2.5 structure (#216)
1 parent 45eed6b commit e43ea4d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/routes/docs/faq.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ key_bindings:
4040
- **NOTE**: keymaps in NvChad are case-sensitive, to delete it you need to use lowercase `<tab>`. Add this to your mappings.lua:
4141
4242
```lua
43-
M.disabled = {
44-
n = {
45-
["<tab>"] = "",
46-
},
47-
}
43+
-- Disable mappings
44+
local nomap = vim.keymap.del
45+
46+
nomap("n", "<tab>")
4847
```
4948
5049
## NvChad's color is weird

0 commit comments

Comments
 (0)