Added/fixed command examples

This commit is contained in:
Michele Cereda
2022-06-05 12:22:20 +02:00
parent 2923a6ecc7
commit 768690297d
2 changed files with 5 additions and 1 deletions

View File

@@ -46,7 +46,8 @@ find . -type f -o -type l \
# Print quoted file paths.
# %p is for path.
find . -type f -printf '%p\n'
find . -type f -printf '"%p"\n'
find . -type f -printf "'%p'\n"
# Sort files by size.
# %s is for size, %p is for path.

View File

@@ -8,6 +8,9 @@
42gg
:42<CR>
# Delete all file's lines.
:1,$d
# Substitute 4-spaces indentations with tabs.
:%s/ /\t/g