chore(zed): Adjust keymaps to match nvim
Probably gonna put this on halt for now as I notice zed doesn't have TODO/FIXME highlighting yet.
This commit is contained in:
parent
941b30413c
commit
0a95ccd9a5
3 changed files with 30 additions and 7 deletions
|
@ -7,15 +7,27 @@
|
|||
// from the command palette.
|
||||
[
|
||||
{
|
||||
"context": "Workspace",
|
||||
"context": "!ProjectPanel",
|
||||
"bindings": {
|
||||
// "shift shift": "file_finder::Toggle"
|
||||
"ctrl-n": "project_panel::ToggleFocus"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor",
|
||||
"context": "ProjectPanel",
|
||||
"bindings": {
|
||||
// "j k": ["workspace::SendKeystrokes", "escape"]
|
||||
"ctrl-n": "workspace::ToggleLeftDock"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == normal",
|
||||
"bindings": {
|
||||
// NOTE: No need to rebind yank (y) and paste (p) since they are basically act the same as "+y and "+p in vim
|
||||
"U": "vim::Redo"
|
||||
/*
|
||||
// <C-u> is signed to replace "U" which resigned as vim::Redo, but "U" doesn't seems to exists in zed?
|
||||
// According to the documentation, "U" is "return the last line which was modified to its original state"
|
||||
"ctrl-u": "",
|
||||
*/
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -20,7 +20,18 @@
|
|||
"buffer_font_family": "Iosevka Nerd Font",
|
||||
"languages": {
|
||||
"kotlin": {
|
||||
"language_servers": ["kotlin-lsp"]
|
||||
"language_servers": ["kotlin-language-server"]
|
||||
}
|
||||
},
|
||||
// AI stuff
|
||||
"features": {
|
||||
"edit_prediction_provider": "supermaven"
|
||||
},
|
||||
"agent": {
|
||||
/*
|
||||
"enabled": false,
|
||||
"button": false,
|
||||
"version": "1"
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue