KoIDE09 ;; paragraph up / down with select enabled?

Question:

Is there a way to assign a keybinding to ParagraphUP and ParagraphDOWN but with “visual select” enabled as well?

There appear to be only two paragraph-up/down commands in the keybinding area, and those do not expand the visual selection area.

Hi, you can do this via userscripts:

require('ko/editor').scimoz().paraUpExtend()

and

require('ko/editor').scimoz().paraDownExtend()

You can then assign key shortcuts to those userscripts.

1 Like