feat(zed): updated settings and added keymap
parent
0c81794297
commit
f7ca46397d
|
|
@ -0,0 +1,16 @@
|
||||||
|
// Zed keymap
|
||||||
|
//
|
||||||
|
// For information on binding keys, see the Zed
|
||||||
|
// documentation: https://zed.dev/docs/key-bindings
|
||||||
|
//
|
||||||
|
// To see the default key bindings run `zed: open default keymap`
|
||||||
|
// from the command palette.
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"context": "Editor",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-k ctrl-c": "editor::ToggleComments",
|
||||||
|
"ctrl-k ctrl-u": "editor::ToggleComments"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
// custom settings, run `zed: open default settings` from the
|
// custom settings, run `zed: open default settings` from the
|
||||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||||
{
|
{
|
||||||
|
"disable_ai": true,
|
||||||
"vim_mode": false,
|
"vim_mode": false,
|
||||||
"telemetry": {
|
"telemetry": {
|
||||||
"metrics": false,
|
"metrics": false,
|
||||||
|
|
@ -109,24 +110,21 @@
|
||||||
|
|
||||||
"languages": {
|
"languages": {
|
||||||
"Vue.js": {
|
"Vue.js": {
|
||||||
"formatter": {
|
"format_on_save": "off",
|
||||||
"code_actions": {
|
"code_actions_on_format": {
|
||||||
"source.fixAll.eslint": true
|
"source.fixAll.eslint": true
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"JavaScript": {
|
"JavaScript": {
|
||||||
"formatter": {
|
"format_on_save": "off",
|
||||||
"code_actions": {
|
"code_actions_on_format": {
|
||||||
"source.fixAll.eslint": true
|
"source.fixAll.eslint": true
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"TypeScript": {
|
"TypeScript": {
|
||||||
"formatter": {
|
"format_on_save": "off",
|
||||||
"code_actions": {
|
"code_actions_on_format": {
|
||||||
"source.fixAll.eslint": true
|
"source.fixAll.eslint": true
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"YAML": {
|
"YAML": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue