mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
530 B
Plaintext
30 lines
530 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# xed
|
|
|
|
> Edit files in Cinnamon desktop environment.
|
|
> More information: <https://manned.org/xed>.
|
|
|
|
- Start the editor:
|
|
|
|
`xed`
|
|
|
|
- Open specific files:
|
|
|
|
`xed {{path/to/file1 path/to/file2 ...}}`
|
|
|
|
- Open files using a specific encoding:
|
|
|
|
`xed --encoding {{WINDOWS-1252}} {{path/to/file1 path/to/file2 ...}}`
|
|
|
|
- Print all supported encodings:
|
|
|
|
`xed --list-encodings`
|
|
|
|
- Open a file and go to a specific line:
|
|
|
|
`xed +{{10}} {{path/to/file}}`
|