Skip to content

Share editor state such as cursor position between Neovim and VSCode

License

Notifications You must be signed in to change notification settings

kbwo/vim-shareedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-shareedit

Overview

A Neovim plugin that shares open files and cursor positions between Neovim and VSCode

Screencast.From.2025-01-26.10-01-14.mp4

Motivation

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.

Requirements

Installation

Install with your preferred plugin manager.

vim-plug

Plug 'vim-denops/denops.vim'
Plug 'kbwo/vim-shareedit'

Usage

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.

TODO

  • Share cursor position
    • Vim <-> VSCode bidirectional cursor position syncing
  • Session management
  • Share visual mode selection range
  • Share unsaved file edits

About

Share editor state such as cursor position between Neovim and VSCode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published