You can enable relative line numbers in your VSCode configuration by going to Preferences (Remember! Use the command palette with CMD-SHIFT-P or CTRL-SHIFT-P), searching for the _line numbers_ configuration and setting it to relative. Just take a sneak peek at the relative line number and use it as a count. Using relative line numbers, it is very straightforward to see how many lines you need to jump to get to where you want to go. Relative line numbers show line numbers in relation to your current line: If the current line is where your cursor is resting, the line below would have line number 1, the next one line number 2, and so on. That's where relative line numbers can come in quite handy. But sometimes it can be hard to know how many lines you need to jump to get to the desired position. So, when you read that you need to type f times.Ī great way to move vertically within Vim is by using counts in combination with the j and k motions. If you think of keys as notes, then melodies of keys are keys that are pressed one after the other in rapid succession. Although Vim is no stranger to chords, it relies even more on melodies of keys.Ī melody is a series of notes played one after the other. ![]() For instance, CTRL-C to copy and CTRL-V to paste. That is, typing a combination of keys at the same time. If you have used other editors you're probably accustomed to typing chords of keys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |