As the title says gj and gk now behaves the same as normal j and k
it's not possible to determine width of vscode viewport so i'm setting neovim width to large value (500) and forcing set nowrap option. This probably won't be fixed for long time, sorry
Vote for this vscode request
Workaround:
nnoremap gk :<C-u>call rpcrequest(g:vscode_channel, 'vscode-command', 'cursorMove', { 'to': 'up', 'by': 'wrappedLine', 'value': v:count ? v:count : 1 })<CR>
nnoremap gj :<C-u>call rpcrequest(g:vscode_channel, 'vscode-command', 'cursorMove', { 'to': 'down', 'by': 'wrappedLine', 'value': v:count ? v:count : 1 })<CR>
Better to use VSCodeCall but it doesn't pass arguments properly now
Will add to next release
Big thanks for the workaround and all the effort! I wish I could replace my old vim extension with this and give more feedback, the only thing that stops me so far is the Chinese character issue 馃槒