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
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"disable_ai": true,
|
||||
"vim_mode": false,
|
||||
"telemetry": {
|
||||
"metrics": false,
|
||||
|
|
@ -109,24 +110,21 @@
|
|||
|
||||
"languages": {
|
||||
"Vue.js": {
|
||||
"formatter": {
|
||||
"code_actions": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
"format_on_save": "off",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"JavaScript": {
|
||||
"formatter": {
|
||||
"code_actions": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
"format_on_save": "off",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"TypeScript": {
|
||||
"formatter": {
|
||||
"code_actions": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
"format_on_save": "off",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"YAML": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue