Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Consistent tab width settings

by cavac (Parson)
on Oct 19, 2022 at 14:48 UTC ( [id://11147519]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Consistent tab width settings
in thread Consistent tab width settings

Untabbify for vim (add to .vimrc)

:map <F3> :%s/\t/ /g <CR>

Then press F3 to untabify ;-)

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

Replies are listed 'Best First'.
Re^4: Consistent tab width settings
by LanX (Saint) on Mar 12, 2024 at 15:45 UTC
    I would anchor it to line start only, maybe with the exemption of leading #

    ... to assure only indentation is replaced.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147519]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-23 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found