Answers for "vim replace multiple tabs with space"

4

vim replace tabs with spaces

" Vi:

" To replace tabs with spaces whilst typing
set tabstop=4 shiftwidth=4 expandtab
Posted by: Guest on October-22-2020
0

vim replace multiple spaces with one

# Basic syntax:
# Replace two or more spaces with one
:%s/ {2,}/ /g
Posted by: Guest on July-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language