User Tools

Site Tools


linux:tools:vi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:tools:vi [2025/02/19 21:08] – mslinux:tools:vi [2026/10/08 10:55] (current) – [Convert] ms
Line 22: Line 22:
 <code> <code>
 :%sort :%sort
 +</code>
 +
 +Terminal öffnen
 +<code>
 +:term
 </code> </code>
  
Line 44: Line 49:
 <code> <code>
 vimdiff file1 file2 vimdiff file1 file2
 +</code>
 +
 +===== Convert =====
 +Check Filetype: UTF-8 oder ISO-8859
 +<code>
 +:set fileencoding?
 +</code>
 +ISO-8859 -> fileencoding=latin1
 +
 +Filetype auf UTF-8 setzen
 +<code>
 +:set fileencoding=utf-8
 +:w
 +
 +:set fileencoding=utf-8 | w
 +</code>
 +
 +Entfernung von BOM (Byte Order Mark) und CRLF (von Windows)
 +<code>
 +:set nobomb
 +:set fileformat=unix
 +:w
 </code> </code>
linux/tools/vi.1739999311.txt.gz · Last modified: 2025/02/19 21:08 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki