On Wed, 9 Jan 2013 22:38:08 +0000
Kovacsics Robert <[email protected]> wrote:

> Hi!
> 
> I would like to ask for some help with formatting text for console
> output using vim. What I have is a text file containing my TODO lists,

Got it! What I needed is the "-s" command line option of Vim, and a vim
script file like this:

:set nonumber
:set norelativenumber
:set foldlevel=2
:while line(".") != line("$")
:  normal j
:endwhile
:q!

and run vim todo.otl -s /path/to/script.vim
And it works!

PS: I did not just jump to the end of the line, as that skips lines,
and I would like to scroll

Attachment: signature.asc
Description: PGP signature

Reply via email to