Skip to content

Instantly share code, notes, and snippets.

@nwjsmith
Created March 1, 2024 15:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nwjsmith/24f35d9428078dbb0fe49e7532514eeb to your computer and use it in GitHub Desktop.
Save nwjsmith/24f35d9428078dbb0fe49e7532514eeb to your computer and use it in GitHub Desktop.
DOOM-like window movement bindings for Zed
[
{
"context": "Editor && (vim_mode == normal || vim_mode == visual) && !VimWaiting && !menu",
"bindings": {
"space w v": "pane::SplitRight",
"space w s": "pane::SplitDown",
"space w h": ["workspace::ActivatePaneInDirection", "Left"],
"space w j": ["workspace::ActivatePaneInDirection", "Down"],
"space w k": ["workspace::ActivatePaneInDirection", "Up"],
"space w l": ["workspace::ActivatePaneInDirection", "Right"]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment