remove first N characters, suggested by @nrn@bsd.network

This commit is contained in:
mischa 2019-04-15 08:44:30 +02:00
parent 46002f11a1
commit 5717e66e1b
1 changed files with 4 additions and 0 deletions

View File

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