diff --git a/index.md b/index.md index d9e9b96..b9f2481 100644 --- a/index.md +++ b/index.md @@ -41,6 +41,10 @@ Helpful documents: :'k,'ls/\ *$// +#### Remove the first N (5) characters from every line + + :%s/^.\{0,5\}// + #### Search and replace PATHs, using different delimiter :%s#/usr/local/log#/var/log#g