A Neovim plugin that shares open files and cursor positions between Neovim and VSCode
Screencast.From.2025-01-26.10-01-14.mp4
I have been using Neovim for a long time, but recently I've started using editors like Cursor Editor and Cline more frequently, which means I often need to switch between different editors for development and testing.
As I continued working this way, frequently switching between Neovim and other editors became cumbersome.
Therefore, to make switching between Neovim and VSCode smoother, I created this plugin that shares files and cursor positions between Neovim and VSCode.
- Visual Studio Code with vscode-shareedit plugin installed
Install with your preferred plugin manager.
Plug 'vim-denops/denops.vim'
Plug 'kbwo/vim-shareedit'
In Vim
:ShareEditStart
In VSCode, you can connect to vim-shareedit by Connect to vim-shareedit
command from command palette (Cmd/Ctrl+Shift+P).
See VSCode Extension for more details.
- Share cursor position
- Vim <-> VSCode bidirectional cursor position syncing
- Session management
- Share visual mode selection range
- Share unsaved file edits