I'm working a lot in Python and feel your pain, what I do is:
X/.* / ,|tab -n 4 -u
I normally work with several python files open in Sam, this has
worked well for me.
As already pointed out another solution is to run a script to do the
conversion for you on a pre-commit hook.
> or a script that does everything for you.
Check-in functions in most version control systems allow you to run a
script, so that may also be an option.
++L
> anyone hacked sam to replace tabs with spaces or found a similar workaround?
Would it not be most practical to hook tab(1) onto Sam's "w" command?
++L
or a script that does everything for you.
you edit at one tree and Rin the script
which copies to another replaces and submits.
On Nov 16, 2012, at 12:37 PM, dexen deVries wrote:
> On Friday 16 of November 2012 11:12:38 Steve Simon wrote:
>> I am working on a project that insists on 4 space in
On Friday 16 of November 2012 11:12:38 Steve Simon wrote:
> I am working on a project that insists on 4 space indentation of code.
>
> I can change the tabstop environment variable so I layout the code
> how they want but I am still inderting tabs into my source.
>
> I can use russ's tab(1) to co
I am working on a project that insists on 4 space indentation of code.
I can change the tabstop environment variable so I layout the code
how they want but I am still inderting tabs into my source.
I can use russ's tab(1) to convert the tabs to whitespace before every
checkin, but thats a bit pai
Damn, google eat my post again.
The problem is solve. Using ftpserver on xp, and ftpfs to mount the dir.
Although it's really slow, it works.
Many thanks to you folks.
Thanks, indeed!
I added two lines so it can be used with Latex files too:
case *.tex
c='%'
Mark.
On Fri, Nov 16, 2012 at 5:16 AM, <6o205z...@sneakemail.com> wrote:
> BTW, I know what fmt is, but what do a- and a+ do?
indentation and un-indentation.
http://9fans.net/archive/2008/09/71