Skip to content

Instantly share code, notes, and snippets.

View Otterpocket's full-sized avatar
💭
🦕

Ben Hamment Otterpocket

💭
🦕
  • Norwich, Norfolk, UK
View GitHub Profile
@Otterpocket
Otterpocket / tasks.json
Last active April 18, 2024 10:23
Rails Zed Tasks
[
{
"label": "Rails DB Reset",
"cwd": "$ZED_WORKTREE_ROOT",
"command": "rails",
"args": ["db:reset"],
"use_new_terminal": false,
"allow_concurrent_runs": false,
"reveal": "always"
},
@Otterpocket
Otterpocket / zed_shortcuts.md
Last active January 19, 2024 10:36
Zed Shortcuts

General Shortcuts:

  • ⌘-⇧-P: Open the Command Palette
  • ⌘-F: Search within a buffer
  • Ctrl-G: Jump to a specific line in a buffer
  • ⌘-K ⌘-T: Toggle and select a theme
  • ⌘-`: Open the integrated terminal
  • ⌘-K ⌘-F: Open the File Finder
  • ⌘-K ⌘-→: Cycle focus among different panes (forward)
  • ⌘-K ⌘-←: Cycle focus among different panes (backward)
  • ⌘-K →: Split the current tab to the right