Deleting the first N characters of every line in Vim/Vi text editors is executed using Visual Block selection mode or regular expression substitutions.

Vim & sed Commands

Vim Commandsvim
" Inside Vim: Delete first 3 characters of every line via regex substitution
:%s/^...//
 
# Equivalent sed command from Linux terminal
sed -i 's/^...//' file.txt