Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You don't need to use this extension, it is available in VS Code's standard feature key bindings.

{
  // keybindings.json
  {
    "key": "ctrl+d",
    "command": "editorScroll",
    "args": {
      "to": "down",
      "by": "halfPage",
      "revealCursor": true,
      "value": 1
    }
  }
}

additional scroll keys for Visual Studio Code

Visual Studio Code don't have half page scrolling. This plugin supports scrolling with lines of preference.

how to use

1. add settings

⌘, or keyF1 -> Open User Settings

{
    "scrollkey.line1": 1,
    "scrollkey.line2": 30,
    "scrollkey.line3": 60
}

2. add Keyboard Shortcuts

keyF1 -> Open Keyboard Shortcuts

Please use your favorite keys.

[
    {
        "key": "ctrl+y",
        "command": "scrollkey.up1",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+u",
        "command": "scrollkey.up2",
        "when": "editorTextFocus"
    },
    {
        "key": "PageUp",
        "command": "scrollkey.up3",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+e",
        "command": "scrollkey.down1",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+d",
        "command": "scrollkey.down2",
        "when": "editorTextFocus"
    },
    {
        "key": "PageDown",
        "command": "scrollkey.down3",
        "when": "editorTextFocus"
    }
]

3. restart VSCode

License

MIT

About

key shortcuts for scrolling the lines of preference (VSCode extension)

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages