RelativityJump or select a number of lines up or down from the cursor. Press a shortcut, type how many lines, and press It works best with relative line numbers turned on, so the number you need is right there in the gutter:
Commands and keybindingsAll commands are also in the Command Palette under Relativity.
Jumps keep the cursor's column, or stop at the end of the line if the target line is shorter. They stop at the first and last line of the file. Select Up and Select Down extend the current selection, so you can press them repeatedly to grow or shrink it. To use different keys, open Preferences: Open Keyboard Shortcuts and search for Jump a fixed number of linesEvery command takes an optional argument: the number of lines. A keybinding with
Settings
License |