diff --git a/pages/common/zed.md b/pages/common/zed.md new file mode 100644 index 0000000000..ccc0105763 --- /dev/null +++ b/pages/common/zed.md @@ -0,0 +1,24 @@ +# zed + +> Text editor designed to be fast, efficient and convenient. +> More information: . + +- 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}}` diff --git a/pages/common/zeditor.md b/pages/common/zeditor.md new file mode 100644 index 0000000000..e293995f66 --- /dev/null +++ b/pages/common/zeditor.md @@ -0,0 +1,7 @@ +# zeditor + +> This command is an alias of `zed`. + +- View documentation for the original command: + +`tldr zed`