Remap j/k to gj/gk in Overleaf Vim mode editor
This code remaps j to gj and k to gk in Vim mode in the Overleaf editor. This allows j and k to go down and up one screen line rather than a document line.
j
gj
k
gk