From c4a0fbd89ef6f1058d8bfebd64e2830ff77233a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Thu, 19 Oct 2017 19:27:18 +0200 Subject: [PATCH] vim: add s for substitution --- pages/common/vim.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/vim.md b/pages/common/vim.md index f8846af4b..7d826594d 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -25,7 +25,7 @@ - Perform a regex substitution in the whole file (from the start to the end(% holds the file name)): -`:%/{{pattern}}/{{replacement}}/g` +`:%s/{{pattern}}/{{replacement}}/g` - Save (write) the file, and quit: