Hello,

I use the "scrolloff=a_high_number" trick to have the the cursor in
the middle of the window.  Of course, when there is not enough lines,
the cursor is on the top of the window, and this does not annoy me.
But here is my question: is it possible to keep the cursor in the
middle of the window when I am at the end of a file?

Instead of this:

+-----------------------------+
| 220 bla bla bla bla bla bla |
| 221 bla bla bla bla bla bla |
| 222 bla bla bla bla bla bla |
| 223 bla bla bla bla bla bla |
| 224 bla bla bla bla bla bla |
| 225 bla bla.X               | <= X is the cursor
| - INSERTION -         225,9 |
+-----------------------------+

I want this:

+-----------------------------+
| 223 bla bla bla bla bla bla |
| 224 bla bla bla bla bla bla |
| 225 bla bla.X               |
|~                            |
|~                            |
|~                            |
| - INSERTION -         225,9 |
+-----------------------------+

Thanks for your help

Thomas

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to