mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/zed
Normal file
29
tldr/zed
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zed
|
||||
|
||||
> Text editor designed to be fast, efficient and convenient.
|
||||
> More information: <https://zed.dev/docs/#cli>.
|
||||
|
||||
- Open specific paths in Zed:
|
||||
|
||||
`zed {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
- Open a path in foreground and display logs:
|
||||
|
||||
`zed {{path/to/project}} --foreground`
|
||||
|
||||
- Open a path in new window:
|
||||
|
||||
`zed {{path/to/project}} {{[-n|--new]}}`
|
||||
|
||||
- Open a file at the given line number and column:
|
||||
|
||||
`zed {{path/to/file}}:{{line_number}}:{{column_number}}`
|
||||
|
||||
- Open a diff tab in Zed for two versions of a file:
|
||||
|
||||
`zed --diff {{path/to/old_file}} {{path/to/new_file}}`
|
||||
12
tldr/zeditor
Normal file
12
tldr/zeditor
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zeditor
|
||||
|
||||
> This command is an alias of `zed`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr zed`
|
||||
Reference in New Issue
Block a user