Vim is a text editor that is designed to be used efficiently with keyboard shortcuts. Here are some common ways to move around in Vim:
h: Move the cursor one character to the left.l: Move the cursor one character to the right.k: Move the cursor up one line.j: Move the cursor down one line.w: Move the cursor to the beginning of the next word.b: Move the cursor to the beginning of the previous word.e: Move the cursor to the end of the current word.0 (zero): Move the cursor to the beginning of the current line.$: Move the cursor to the end of the current line.gg: Move the cursor to the beginning of the file.G: Move the cursor to the end of the file.%: Move the cursor to the matching parenthesis or bracket.CTRL-F: Move forward one screenful.CTRL-B: Move backward one screenful.You can also use the :line command to move to a specific line number. For example, to move to line 50, you can use :50.
You can find more information about moving around in Vim in the Vim documentation by typing :help motion within Vim.