diff --git a/gerrit-gwtui/src/main/java/net/codemirror/lib/Loader.java b/gerrit-gwtui/src/main/java/net/codemirror/lib/Loader.java index edf1664d70..e4ac7b1d59 100644 --- a/gerrit-gwtui/src/main/java/net/codemirror/lib/Loader.java +++ b/gerrit-gwtui/src/main/java/net/codemirror/lib/Loader.java @@ -95,6 +95,10 @@ class Loader { km.remove(s); } CodeMirror.addKeyMap("vim_ro", km); + CodeMirror.mapVimKey("j", "gj"); + CodeMirror.mapVimKey("k", "gk"); + CodeMirror.mapVimKey("Down", "gj"); + CodeMirror.mapVimKey("Up", "gk"); } private static void error(Exception e) {