make mg statusline a bit more informative

2012-10-10 Thread Jasper Lievisse Adriaanse
Currently the statusline in mg shows the line and column numbers, which is nice but doesn't let you know your relative position in the file. Emacs shows 'top', 'bot', 'all' or your relative position like '42%'. This diff implements that behaviour in mg too. From: (fundamental-fill)--L3--C31 to:

Re: make mg statusline a bit more informative

2012-10-10 Thread Mark Kettenis
Date: Wed, 10 Oct 2012 15:12:59 +0200 From: Jasper Lievisse Adriaanse jas...@openbsd.org Currently the statusline in mg shows the line and column numbers, which is nice but doesn't let you know your relative position in the file. Emacs shows 'top', 'bot', 'all' or your relative position

Re: make mg statusline a bit more informative

2012-10-10 Thread Jasper Lievisse Adriaanse
On Wed, Oct 10, 2012 at 03:31:30PM +0200, Mark Kettenis wrote: Date: Wed, 10 Oct 2012 15:12:59 +0200 From: Jasper Lievisse Adriaanse jas...@openbsd.org Currently the statusline in mg shows the line and column numbers, which is nice but doesn't let you know your relative position in the

Re: make mg statusline a bit more informative

2012-10-10 Thread Otto Moerbeek
On Wed, Oct 10, 2012 at 03:39:39PM +0200, Jasper Lievisse Adriaanse wrote: On Wed, Oct 10, 2012 at 03:31:30PM +0200, Mark Kettenis wrote: Date: Wed, 10 Oct 2012 15:12:59 +0200 From: Jasper Lievisse Adriaanse jas...@openbsd.org Currently the statusline in mg shows the line and column

Re: make mg statusline a bit more informative

2012-10-10 Thread Mark Kettenis
Date: Wed, 10 Oct 2012 15:39:39 +0200 From: Jasper Lievisse Adriaanse jas...@openbsd.org On Wed, Oct 10, 2012 at 03:31:30PM +0200, Mark Kettenis wrote: Date: Wed, 10 Oct 2012 15:12:59 +0200 From: Jasper Lievisse Adriaanse jas...@openbsd.org Currently the statusline in mg shows