vim quickly move the cursor to the beginning and end of the line

Start of line: use shortcut key ^ in command mode (ie Shift+6)

End of line: Use shortcut keys $(ie Shift+4) in command mode . $You can also add a number before the shortcut key to indicate the number of lines moved. For example, use the 1$end of the 2$current line to indicate the end of the line next to the current line.

Guess you like

Origin blog.csdn.net/yjk13703623757/article/details/106485875