Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (30 loc) · 1.76 KB

intro.md

File metadata and controls

33 lines (30 loc) · 1.76 KB

Welcome to Zed

For the latest Zed news check out http://zedapp.org and check out the Manual project for documentation.

To start editing files in this project, press Command-E on Mac, or Ctrl-E on Windows/Linux/ChromeOS. If you prefer a tree view of your files, press Command-T/Ctrl-T. To find all available commands and keyboard shortcut press Command-./Ctrl-.

Useful keys

  • Command-E/Ctrl-E: Open or create a new file. Inside the picker:
    • In an empty box, press space to complete the directory of the currently open document.
    • Press Up/Down or Tab/Shift-Tab to walk over results.
    • Pressing Return either opens the selected file, or creates a new file with the name you typed in if none currently exists.
  • Command-./Ctrl-.: Run an editor command.
  • Cmd-T/Ctrl-T: Show file tree. Keys used with tree active:
    • Up: Move up in the tree
    • Down: Move down in the tree
    • Left: Collapse node
    • Right: Expand node
    • Enter: Open file
  • Command-F/Ctrl-F: Find within file, after pressing Enter to select thie first match, use Command-G/Ctrl-G to find next match, or Ctrl-Alt-F to put cursors on all.
  • Command-1/Ctrl-1: 1 split
  • Command-2/Ctrl-2: 2 vertical splits (press repeatedly to cycle between split sizes)
  • Command-3/Ctrl-3: 3 vertical splits
  • Command-P/Ctrl-P: Preview split (press repeatedly to cycle between split sizes)
  • Command-0/Ctrl-0: switch focus from one split to the next.
  • Tab (following an identifier): complete code. In completion mode:
    • Tab/Down: Select next completion
    • Shift-Tab/Up: Select previous completion
    • Enter: Pick selected completion
    • Esc: Close completion box
  • Command-,: open the preferences UI.