From 2923a6ecc7d2466e3d456a1d91dd4adb6b09efdc Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 2 Jun 2022 10:24:19 +0200 Subject: [PATCH] Added command examples --- knowledge base/vim.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/knowledge base/vim.md b/knowledge base/vim.md index 8feaefb..9a295a4 100644 --- a/knowledge base/vim.md +++ b/knowledge base/vim.md @@ -8,6 +8,12 @@ 42gg :42 +# Substitute 4-spaces indentations with tabs. +:%s/ /\t/g + +# Align the file to the current indentation settings. +:retab + # Get help on something. :help modeline ```