Wednesday, April 3, 2013

Re: How to put search result on FIRST screen line

Taylor,


On 2013-04-04 07:17, Taylor Hedberg wrote:
> Philip Rhoades, Thu 2013-04-04 @ 07:09:21+1100:
>> What do you mean? How do you map the search and the "zt" command?
>
> e.g.:
>
> nnoremap <Leader>n nzt


That seems to put the searched line in the centre of the screen . . not
the first line of the screen.

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment