On 14:22 Sat 24 Mar     , Volker Bernhard Duetsch wrote:
> On Sat, 24 Mar 2012 14:06:30 +0100
> Christian Brabandt <cbli...@256bit.org> wrote:
> 
> > Hi rameo!
> > 
> > On Fr, 23 Mär 2012, rameo wrote:
> > 
> > > I would like to know if it is possible in a future gvim release to add
> > > a horizontal ruler like the actual vertical ruler (set ruler)
> > > (p.e. set:coruler --> set column ruler)
> > > 
> > > I would like to see always the columnnumbers
> > > 123456789*123456789*123456789* etc
> > > 
> > > I know there is a plugin to add a horizontal ruler in the text (which
> > > I use often) but putting it in the text moves the text (changes the
> > > line numbers of the text).
> > > 
> > > I also added the column number info in the statusbar but in this case
> > > I have to click on every column to see where I'am
> > 
> > can't you do something like this:
> > ~$ cat columns.vim
> > setl scrollbind
> > abo sp +enew
> > call setline(1,repeat('1234567890',100))
> > let &l:stl="%#Normal#".repeat(' ',winwidth(0))
> > res 1
> > setl scrollbind nomod buftype=nofile
> > wincmd p
> > ~$
> > 
> > That opens a new split window above your current window, put some 
> > numbers in it and scrollbind it to your original window.
> > 
> > regards,
> > Christian
> > 
> > -- 
> > 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
> 
> Found this in my _vimrc:
> 
> nmap \ru   :2new Ruler<CR>8i1234567890<Esc>O12345678<Esc>:s/\d/         
> &/g<CR>:set nomod<CR>:winc j<CR>
I propose to add :%d _, and set buftype=nofile i.e.
nmap \ru   :2new +set\ buftype=nofile Ruler<CR>:%d 
_<CR>8i1234567890<Esc>O12345678<Esc>:s/\d/         &/g<CR>:set nomod<CR>:winc 
j<CR>

Best,
Marcin
> 
> 
> regards,
> Volker
> 
> -- 
> 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

-- 
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

Reply via email to