-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAEBAgAGBQJQ8UJTAAoJEBCSvjUZ80g6lZQQAKSNMDW3Qdfac28HzA1le8vt
Ikv1kub+sS4pP5lNRcFdgw2R/DVg01Ahhn8m1o2t3XE2582rQWFFtrAJui1VHXsm
Bn7apGIqrKAkLS6U9ujVE5SjkDqOA35kLhlwgoV4rvDtRORO0ghpUOLpSG/Xtdr/
hhsXUSmeJhNMsiGypbyZJKDREhus+orKMWWS/eehvtJfZadKAIgwueIr6ZiIZHpH
e7ldYU0NaIwQ8ClIz0GaQCHn4kkv5buLFxb484seSlBTBSMGRw7HalzHkSX7/xsK
zYeOS0GRg2Bv/UuT/IVVOGVjwlH8E1pedPGOmVZmkmEbGMdzoK7ckittcZ9eRcpS
FcO1h6IanEqMKKhtUclhSdrOtjl6BUXa84nnmRo6qdrL5COQl322LvSKmmvHJkdS
VCaWTW00/9NTue05EdJK1FaNaZBYFERjiWv8hOaTrALbd6acw/nt4OJJPoWxdrHT
nvc1YRoOrmSS0Vs2d14TjHqnG0vx/CYzIS0dnf6tU2XoPfWXx4dICktGrI5mniCr
/G41CqAi5/f4tvNKS5w0LAx4RNls6JOGQiqxGLgZ+SnrwcDKeL9eC6z51vUN9KiK
IWJ+WTRE4tvIOBTLWBHZ/lpG+s/WH8P6pNCUm0U3xZv2J14z7tLYvdzxRtMJ8fMf
L/fKYhWV3xWE1iJBAg3g
=bTqM
-----END PGP SIGNATURE-----
On Wed, 9 Jan 2013 22:38:08 +0000
Kovacsics Robert <kovirobi@gmail.com> 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
Saturday, January 12, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment