On 10/05/10 07:22, Jürgen Krämer wrote:
   :help scroll-horizontal

? That's the section just after :help zt etc. and it has information
about ze and zs which might be helpful in your case. Alas, I don't see
a command to center the cursor horizontally.

However, combined with zL and zH, a "center horizontally" could be created:

  :nnoremap <f4> zszH

There might be some odd edge-cases when the line doesn't extend past the end of the screen, but for the most part, it should suffice.

-tim


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