linux:tools:vi
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:tools:vi [2025/02/19 21:10] – ms | linux:tools:vi [2026/10/08 10:55] (current) – [Convert] ms | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| < | < | ||
| vimdiff file1 file2 | vimdiff file1 file2 | ||
| + | </ | ||
| + | |||
| + | ===== Convert ===== | ||
| + | Check Filetype: UTF-8 oder ISO-8859 | ||
| + | < | ||
| + | :set fileencoding? | ||
| + | </ | ||
| + | ISO-8859 -> fileencoding=latin1 | ||
| + | |||
| + | Filetype auf UTF-8 setzen | ||
| + | < | ||
| + | :set fileencoding=utf-8 | ||
| + | :w | ||
| + | |||
| + | :set fileencoding=utf-8 | w | ||
| + | </ | ||
| + | |||
| + | Entfernung von BOM (Byte Order Mark) und CRLF (von Windows) | ||
| + | < | ||
| + | :set nobomb | ||
| + | :set fileformat=unix | ||
| + | :w | ||
| </ | </ | ||
linux/tools/vi.1739999418.txt.gz · Last modified: 2025/02/19 21:10 by ms