Skip to content

Commit

Permalink
chore(zed): set buffer navigation keybinds on all 'Editor' contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
coopbri committed May 15, 2024
1 parent a38135c commit 71f7f40
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .config/zed/keymap.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
// Zed keymap overrides (https://zed.dev/docs/key-bindings)
[
{
"context": "Editor",
"bindings": {
// buffer navigation
"ctrl-shift-tab": "pane::ActivatePrevItem",
"ctrl-tab": "pane::ActivateNextItem"
}
},
{
"context": "Editor && mode == full",
"bindings": {
// newlines
"ctrl-shift-enter": "editor::NewlineAbove",
"ctrl-enter": "editor::NewlineBelow",
// buffer navigation
"ctrl-shift-tab": "pane::ActivatePrevItem",
"ctrl-tab": "pane::ActivateNextItem",
// line movement
"ctrl-up": "editor::MoveLineUp",
"ctrl-down": "editor::MoveLineDown"
Expand Down

0 comments on commit 71f7f40

Please sign in to comment.