# CodeMirror 6 vim scroll issues

**URL:** <https://discourse.joplinapp.org/t/codemirror-6-vim-scroll-issues/35864>\
**Category:** Beta Testing\
**Created:** [13 February 2024 15:43 UTC](https://discourse.joplinapp.org/t/codemirror-6-vim-scroll-issues/35864 "2024-02-13T15:43:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrwrigh](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jrwrigh/32/5142_2.png) [@jrwrigh](https://discourse.joplinapp.org/u/jrwrigh)\
**Post date:** [13 February 2024 15:43 UTC](https://discourse.joplinapp.org/t/codemirror-6-vim-scroll-issues/35864/1 "2024-02-13T15:43:08Z")

</div>

Similar to a [different post](https://discourse.joplinapp.org/t/codemirror-6-vim-mode-issues/35135), but different issue so I figured I'd make a new thread.

- In normal mode, Ctrl+u and Ctrl+d do not scroll up/down by half pages. Instead, Ctrl+u falls back to u (undo) and Ctrl+d does something else (I honestly don't know what it's doing, but it's not scrolling).

_(If we instead want to put these issues into a single thread, let me know. Wasn't sure the best way of doing this, but figured this would ensure the issue gets seen)_

---

<div class="post-metadata">

**Author:** ![personalizedrefriger](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/personalizedrefriger/32/13210_2.png) [@personalizedrefriger](https://discourse.joplinapp.org/u/personalizedrefriger)\
**Post date:** [22 February 2024 23:38 UTC](https://discourse.joplinapp.org/t/codemirror-6-vim-scroll-issues/35864/2 "2024-02-22T23:38:53Z")

</div>

Thank you for reporting this! I've created a GitHub issue:

> <https://github.com/laurent22/joplin/issues/9981>
>
> \### Operating system
> 
> Linux
> 
> \### Joplin version
> 
> 2.14
> 
> \### Desktop version info
> …
> \_No response\_
> 
> \### Current behaviour
> 
> See https://discourse.joplinapp.org/t/codemirror-6-vim-scroll-issues/35864
> 
> To reproduce:
> 1. Enable Vim keybindings in Options \> General \> Advanced \> Keyboard mode.
> 2. Open a long note and try to scroll with \<kbd\>ctrl\</kbd\>-\<kbd\>u\</kbd\> and \<kbd\>ctrl\</kbd\>-\<kbd\>d\</kbd\> while in normal mode.
> 
> \### Expected behaviour
> 
> \<kbd\>ctrl\</kbd\>-\<kbd\>u\</kbd\> and \<kbd\>ctrl\</kbd\>-\<kbd\>d\</kbd\> should scroll.
> 
> \### Logs
> 
> \_No response\_
