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 ```