On Saturday, March 24, 2012 2:22:26 PM UTC+1, volker....@gmx.de wrote: > On Sat, 24 Mar 2012 14:06:30 +0100 > Christian Brabandt 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> > > > regards, > Volker
Thank you Christian, Marcin and Volker for your answers. Volker, I like the ruler in a buffer. What I see is this: 1 2 3 4 5 6 7 8 12345678901234567890123456789012345678901234567890123456789012345678901234567890 I changed the 0 to * in order to better see the decades but why the first line? What do I have to do to remove the first line? Best, Rameo -- 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