Jump eg. 7 lines up/down with alt+up/down (fast navigation, customizable)
-
exposes
extension.cursor-jump
which takes arg{deltaLine: number, deltaChar: number, moveAnchor: bool, moveActive: bool}
(moveAnchor/Active is true by default, ie. will move the whole selection) -
set custom key-bindings, eg.:
{ "command": "extension.cursor-jump", "when": "editorTextFocus", "key": "alt+up", "args": {"lineDelta": -7, "charDelta": 0} }
-
works on multiple selections
-
ability to only move end point / "active" by setting
moveAnchor: false
, useful when doing eg.shift-alt-up
None. Appart from vscode-extension-starter-guide, this extension is like 10 lines of code.
Setup in user keybindings by doing cmd+shit+P
, open keyboard shortcuts
, and editing to your desire as above.
None.
Initial release.
git clone ...
npm i
code .
F5
to open "Extension Development Host" windowcmd+n
, write some text, and tryalt+up
- go back and edit the file, optionally view "Debug Console", save and hit reload on the debug toolbar
- when ready, git commit, push to fork, and make a Pull Request
Created by Leonard Pauli, 6 apr 2019
Enjoy!