Any ideas???
cheers
--
Un saludo
Best Regards
Pablo Giménez
You should be able to display on the statusline the virtual column of
the first nonblank character on the current line. (This would, of
course, require a custom statusline.) The tricky part would be how to do
it without unduly disturbing editing.
See :help 'statusline'
Best regards,
Tony.
--
There was an old pirate named Bates
Who was learning to rhumba on skates.
He fell on his cutlass
Which rendered him nutless
And practically useless on dates.
El día 7 de julio de 2010 03:16, Tony Mechelynck
<antoine.m...@gmail.com> escribió:
> On 06/07/10 17:04, Pablo Giménez wrote:
>>
>> Hi
>> I am trying to make more clear my indent levels when programming python.
>> In many editors you can set to visualize indentation level in your
>> text, at every level a character, usually a point is shown, so you
>> onlu need to count the number of preceding points to know your indent
>> level.
>> I am already using cream-showinvisibles plugin:
>> http://vim.sourceforge.net/scripts/script.php?script_id=363
>> But this one don't show indentation levels visually.
>>
>> Any ideas???
>> cheers
>>
>>
>> --
>> Un saludo
>> Best Regards
>> Pablo Giménez
>>
>
> You should be able to display on the statusline the virtual column of the
> first nonblank character on the current line. (This would, of course,
> require a custom statusline.) The tricky part would be how to do it without
> unduly disturbing editing.
>
> See :help 'statusline'
>
>
> Best regards,
> Tony.
> --
> There was an old pirate named Bates
> Who was learning to rhumba on skates.
> He fell on his cutlass
> Which rendered him nutless
> And practically useless on dates.
>
--
Un saludo
Best Regards
Pablo Giménez
On Di, 06 Jul 2010, Pablo Giménez wrote:
> I am trying to make more clear my indent levels when programming python.
> In many editors you can set to visualize indentation level in your
> text, at every level a character, usually a point is shown, so you
> onlu need to count the number of preceding points to know your indent
> level.
> I am already using cream-showinvisibles plugin:
> http://vim.sourceforge.net/scripts/script.php?script_id=363
> But this one don't show indentation levels visually.
I am not sure I understand correctly. I think you could use the signs
feature to display the numerical indent level by calculating the
indentlevel by using indent()/&sts for each line.
<a little bit later…>
Here is a sample plugin. This is a very rough version, that was ripped
off of one of my plugins (changesPlugin:
http://www.vim.org/scripts/script.php?script_id=3052)
regards,
Christian
--
Urlaub ohne Unterlaß wäre ein gutes Training für den Aufenthalt in
der Hölle.
-- George Bernard Shaw
As you can see every level of indentatin is shown by a dot.
And sometimes when coding with languages like Python this is really useful.
Cheers
2010/7/19 Christian Brabandt <cbl...@256bit.org>:
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
What I wanto to do is something like this:
def myFoolDef()
. fool = "myFoolTest"
. for letter in fool:
. . print letter + "\n"
. print "I got an amazing fool sentence in a columns"
As you can see every level of indentatin is shown by a dot.
And sometimes when coding with languages like Python this is really useful.
On Di, 20 Jul 2010, Pablo Gim�nez wrote:
> What I wanto to do is something like this:
> def myFoolDef()
> . fool = "myFoolTest"
> . for letter in fool:
> . . print letter + "\n"
> . print "I got an amazing fool sentence in a columns"
>
> As you can see every level of indentatin is shown by a dot.
> And sometimes when coding with languages like Python this is really useful.
> Cheers
See the recent thread that started with this message:
http://groups.google.com/group/vim_use/msg/ff4a9b37a625be12
Oh and BTW, please don't Top poste.
regards,
Christian
I don't know how it happened, but your account was set to
"Email - send each message as it arrives". As you may not have a
Google account (which would allow you to easily change it
yourself via the web interface), I have interpreted the above as
a request, and have configured your account to:
"No Email - read this group on the web".
John