mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 02:15:24 +02:00
zed: add page (#17212)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
4f4d3d165c
commit
aaf8b1b819
2 changed files with 31 additions and 0 deletions
24
pages/common/zed.md
Normal file
24
pages/common/zed.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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}}`
|
7
pages/common/zeditor.md
Normal file
7
pages/common/zeditor.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# zeditor
|
||||
|
||||
> This command is an alias of `zed`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr zed`
|
Loading…
Add table
Reference in a new issue