# Implement keybindable "scrollLineUp" and "scrollLineDown" (like in VSCode)

**URL:** <https://forum.obsidian.md/t/implement-keybindable-scrolllineup-and-scrolllinedown-like-in-vscode/94816>\
**Category:** Feature requests\
**Tags:** ui-ux\
**Created:** [January 14, 2025, 3:29pm UTC](https://forum.obsidian.md/t/implement-keybindable-scrolllineup-and-scrolllinedown-like-in-vscode/94816 "2025-01-14T15:29:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olestr](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/77aa72/32.png) [@olestr](https://forum.obsidian.md/u/olestr)\
**Post date:** [January 14, 2025, 3:29pm UTC](https://forum.obsidian.md/t/implement-keybindable-scrolllineup-and-scrolllinedown-like-in-vscode/94816/1 "2025-01-14T15:29:56Z")

</div>

### Use case or problem

I’m missing a way to scroll the current view up and down with a keybinding.

It’s a feature I’ve used extensively for many years, most recently frequent in VSCode.  
It’s so useful to be able to scroll the current view without having to move the cursor to do so, for example.

### Proposed solution

In VSCode, I’ve bound the “scrollLineUp” and “scrollLineDown” commands/shortcuts in the keybindings, and it works perfectly.

I’d love to see a similar “Scroll Line Up” and “Scroll Line Down” entries in Obsidian’s keybindings.

### Current workaround (optional)

Lose the context by either having to scroll with a device or moving the cursor.

### Related feature requests (optional)

> [@Ctrl-J / Ctrl-K Hotkey for navigation within command palette and quick switcher](https://forum.obsidian.md/t/ctrl-j-ctrl-k-hotkey-for-navigation-within-command-palette-and-quick-switcher/7751/10):
>
> I made it work by calling this JS code at obsidian startup. You can do this with various plugins or by making your own plugin. document.addEventListener('keydown',(e) =\>{ if (e.code == "KeyN" && e.ctrlKey && !e.shiftKey && !e.metaKey){ document.dispatchEvent(new KeyboardEvent("keydown",{"key":"ArrowDown","code":"ArrowDown"})) } }); document.addEventListener('keydown',(e) =\>{ if (e.code == "KeyP" && e.ctrlKey && !e.shiftKey && !e.metaKey){ …
