Hi Dotan!
On Mi, 04 Jul 2012, Dotan Cohen wrote:
> On Tue, Jul 3, 2012 at 9:35 PM, Christian Brabandt <cblists@256bit.org> wrote:
> > I used to have this one in my .vimrc (it's based on a tip by A.Politz):
> > https://groups.google.com/group/vim_use/msg/e7c193ad5dc9c136
> >
>
> Thank you Christian, this is great! In the status bar it takes up no
> additional screen space either. There is a ton of stuff that I don't
> understand in there, so I'll see what I can decipher with VIM help. If
> you are on Stack Overflow or Super User you might want to post that as
> an answer.
I only very seldomly post there, but I'll do it this time. I'll probably
also add some kind of vertical scrollbar into my DynamicSigns plugin.
> I'm still holding out for marks in the statusbar, I will try to see if
> I can add them myself. Three questions that might get me on my way:
> 1) For mark 'n' how might I find which line it is on, i.e. get a variable nLine?
:h getpos()
> 2) Assuming a string 'bar', how might I read an arbitrary character in
> that string?
Possibly using one of the match-functions or using indexing like
"bar"[2]
:h expr8
:h match()
> 3) Assuming a string 'bar', how might I replace an arbitrary character
> in that string?
:h substitute()
Mit freundlichen Grüßen
Christian
--
Ein Mann ist alt, wenn er morgens ohne einen Wunsch aufwacht.
-- Enzo Ferrari
--
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
Wednesday, July 4, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment