--
>> stardiviner << =>GPG: 5D9F64D8 Twitter: @numbchild
http://stardiviner.dyndns-blog.com/author.html
> I want to set vim indent guide like notepad++. the screenshot is
> in attachment. I think *set listchars* maybe work on this.
You can use either folds, listchars or both. This setting helps to
achieve something similar:
set list listchars=tab:\‣\
Play with different characters.
Marco
That will work only when indenting with tabs (but is good to know
where tabs are). For a more generic approach,
see:
http://www.vim.org/scripts/script.php?script_id=3361
--
Ivan Sichmann Freitas
GNU/Linux user #509059
You need to have a "huge" vim (ie. to have signs enabled).
Regards,
C Campbell
actually, Big includes signs
sc
> On Wed, Feb 22, 2012 at 12:49:06PM -0500, Charles Campbell wrote:
> > stardiviner wrote:
> > >I want to set vim indent guide like notepad++. the screenshot is in
> > >attachment. I think *set listchars* maybe work on this.
> > >
> > Try my IndGuide plugin
> > (http://drchip.0sites.net/astronaut/vim/index.html#INDGUIDE).
The manual links to a 404.
Marco
--
On Mi, 22 Feb 2012, stardiviner wrote:
> I want to set vim indent guide like notepad++. the screenshot is in
> attachment. I think *set listchars* maybe work on this.
I don't know what exactly you want, but do you possibly want to set
'foldcolumn'?
e.g. something like this:
:set fdc=5 fdm=indent foldlevel=99 foldlevelstart=99
regards,
Christian
On Do, 23 Feb 2012, stardiviner wrote:
> => On [2012-02-22 12:49:06 -0500]:
> Charles Campbell Said:
> > stardiviner wrote:
> > >I want to set vim indent guide like notepad++. the screenshot is in attachment.
> > >I think *set listchars* maybe work on this.
> > >
> > Try my IndGuide plugin
> > (http://drchip.0sites.net/astronaut/vim/index.html#INDGUIDE).
> >
> I tried this plugin, but the indent lines are before linenumber.
This can't be changed,without heavily patching Vim. May be you want to
continue using notepad++ after all?
Mit freundlichen Gr��en
Christian
--
Die Menschen mu� man vor den Kopf sto�en, damit sie lernen, ihn zu
gebrauchen.
-- Dieter Hildebrandt
http://www.vim.org/scripts/script.php?script_id=3361
https://github.com/nathanaelkane/vim-indent-guides
Regards,
Chip Campbell
Thank you for letting me know -- I modified my RltvNmbr plugin, and
hadn't made an IndGuide manual yet. There's one there now.
Also, there was a bug where :IG would make indentation signs, but the
second :IG wouldn't. Fixed.
Regards,
Chip Campbell
the link worked for me...
sc
Thank you -- I essentially converted my RltvNmbr plugin into IndGuide,
and hadn't come up with a manual yet. There's one there now.
Also, :IG would start up signs, but the second :IG wasn't removing
them. FIxed.
Regards,
Chip Campbell
Regards,
C Campbell
Regards,
Chip Campbell
> I don't know what exactly you want, but do you possibly want to set
> 'foldcolumn'?
> e.g. something like this:
> :set fdc=5 fdm=indent foldlevel=99 foldlevelstart=99
That looks pretty slick! However, it wastes a tremendous amount of screen
space.
Marco