Sunday, September 18, 2016

Re: norm 1G does not work on vim8.0.4

On Sunday, September 18, 2016 at 3:54:10 AM UTC+2, Tim Chase wrote:
> On 2016-09-18 03:57, Nikolay Aleksandrovich Pavlov wrote:
> > And if you are writing `norm 1G` somewhere (e.g. in a plugin), then
> > just write it as `normal! 1G` (with bang).
>
> And stepping back, if you're writing *either* "norm 1G" or "norm! 1G"
> just write
>
> 1
>
> or whichever line-number you want to go to. Likewise, just use "$"
> rather than "norm G" or "norm! g"
>
> :help range
>
> -tim

Thank you men for advices, it is located in a buffer opened by the plugin Vimfiler
that aims to review natural original vim mapping.

I was'not writing but just readgin and wanted to see the first line of buffer
so when I'm in normal mode I don't want to switch to command mode with
:[range]move {address}

--
--
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/d/optout.

No comments:

Post a Comment