Tony Mechelynck wrote:
> Yes, and as icing on the cake, a variation on this one: how to go to a
> specific line and column:
>
> " Go to line and column
> function GoTo(line, column)
> exe min([line("$"), a:line]) "| normal" a:column . "|"
> endfunction
You don't need a vim function to do
Sven Guckes wrote:
> * Peng Yu [2021-03-24 01:51]:
>> I want to specify the line number to go to at the command line.
>> Could anybody let me know how to do it with vim? Thanks.
>
> how to go to line #23:
>
> jump to line 23 on startup:
> vim +23 filename
That's a good answer. The more
On Wed, Mar 24, 2021 at 2:02 AM Sven Guckes wrote:
>
> * Peng Yu [2021-03-24 01:51]:
> > I want to specify the line number to go to at the command line.
> > Could anybody let me know how to do it with vim? Thanks.
>
> how to go to line #23:
>
> jump to line 23 on startup:
> vim +23 filename
* Peng Yu [2021-03-24 01:51]:
> I want to specify the line number to go to at the command line.
> Could anybody let me know how to do it with vim? Thanks.
how to go to line #23:
jump to line 23 on startup:
vim +23 filename
jump to line 23 in command mode:
23G
23gg
jump to line 23
Hi,
I want to specify the line number to go to at the command line. Could
anybody let me know how to do it with vim? Thanks.
--
Regards,
Peng
--
--
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