Find the answer to your Linux question:
Results 1 to 9 of 9
hi all, press which key in Vim Editor to go to the first line of the page?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2005
    Location
    Singapore
    Posts
    234

    vim editor


    hi all,
    press which key in Vim Editor to go to the first line of the page?
    Proper Planing is a way of success

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,414
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Linux Newbie
    Join Date
    Dec 2005
    Location
    Singapore
    Posts
    234
    Quote Originally Posted by smolloy
    the command is not working
    Proper Planing is a way of success

  4. #4
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    There are two ways to do it. In Command Mode:
    Code:
    gg  <-- The faster way
    1G  <-- The slower way
    Have fun!

  5. #5
    Linux Enthusiast deltaflyer's Avatar
    Join Date
    May 2005
    Posts
    577
    think he means click on the link, that will take you to someplace on web with relevant information

    andy
    SLOMO: acer extensa 5235 2.2ghz,2gb ram 160gb hdd wireless
    SPEEDY: homebrew desktop,Amd x2 dualcore,2gb ram,500gb +1tb( 2x500gb) hdd suse 11.3,32mb fibreline
    registered linux user #401845

  6. #6
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,414
    Quote Originally Posted by thcc2
    Quote Originally Posted by smolloy
    the command is not working
    It wasn't a command. Click on the word "link" in my post, and it takes you to somewhere you should have looked. There's an amazing amount of information out there if you're prepared to look for it.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  7. #7
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    You can also get lots of good info (and experience) running the tutor command:

    Code:
    vimtutor

  8. #8
    Linux Newbie eerok's Avatar
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    153

    Re: vim editor

    Quote Originally Posted by thcc2
    press which key in Vim Editor to go to the first line of the page?
    In normal mode, "H" goes to the beginning of the first line on the screen; "M" to the middle line: "L" to the last line.

    I think that's what you wanted.
    noobus in perpetuum

  9. #9
    Linux Newbie
    Join Date
    Dec 2005
    Location
    Singapore
    Posts
    234
    thank you very much
    Proper Planing is a way of success

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •