vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Is there any easy way to change indent globally?


From: Thomas Dickey
Subject: Re: [vile] Is there any easy way to change indent globally?
Date: Thu, 05 Apr 2012 05:46:35 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Apr 05, 2012 at 10:37:22AM +0100, Chris Green wrote:
> Of course, change spaces to tabs, change the tabstop and then change
> tabs back to spaces.

right - though it's nice to have tabs, that doesn't fit into all coding
styles.  At the moment I'm working on vttest, which uses 2 spaces per
level (no tabs).

But if it's using tabs, then it's simple to just do
        :set ts=4
or the ToggleTabs macro (4 versus 8).
 
> I also in general use an external program (astyle) but I was just stuck
> staring at some PHP code that was too wide and needed a way to reduce
> the indentation a bit while I looked at it.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]