nvim and zed
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// 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": "Workspace",
|
||||
"bindings": {
|
||||
// "space space": "file_finder::Toggle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == normal",
|
||||
"bindings": {
|
||||
// "j j": ["workspace::SendKeystrokes", "escape"]
|
||||
"tab": "pane::ActivateNextItem",
|
||||
"shift-tab": "pane::ActivatePrevItem",
|
||||
"space space": "file_finder::Toggle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == insert",
|
||||
"bindings": {
|
||||
"ctrl-j": "editor::ContextMenuNext",
|
||||
"ctrl-k": "editor::ContextMenuPrev",
|
||||
"tab": "editor::ConfirmCompletion"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor",
|
||||
"bindings": {
|
||||
"ctrl-j": "menu::SelectNext",
|
||||
"ctrl-k": "menu::SelectPrev"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run zed: open default settings from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"vim_mode": true,
|
||||
"vim": {
|
||||
"toggle_relative_line_numbers": true
|
||||
},
|
||||
"features": {
|
||||
"copilot": false,
|
||||
"inline_completion_provider": "none"
|
||||
},
|
||||
"show_completions_on_input": true,
|
||||
"assistant": {
|
||||
"version": "2",
|
||||
"enabled": false
|
||||
},
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_type_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_other_hints": true
|
||||
},
|
||||
"show_inline_completions": true,
|
||||
"ui_font_size": 16,
|
||||
"buffer_font_size": 16,
|
||||
"theme": {
|
||||
"mode": "dark",
|
||||
"light": "Catppuccin Latte",
|
||||
"dark": "Catppuccin Mocha (Blur)"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user