Skip to content

Copy of the Ethersync Vim plugin from the main repo, for easier installation

Notifications You must be signed in to change notification settings

ethersync/ethersync-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim plugin for 🍃 Ethersync

Important

This plugin requires at least Neovim 0.7.0.

Installation

The Neovim plugin is located at https://github.com/ethersync/ethersync-nvim, so you would usually add the string "ethersync/ethersync-nvim" to your plugin manager. Here's some example configuration blocks:

Lazy

{
  "ethersync/ethersync-nvim",
  keys = { { "<leader>j", "<cmd>EthersyncJumpToCursor<cr>" } },
  lazy = false,
}

pckr.nvim

{
  "ethersync/ethersync-nvim",
  config = function()
    vim.keymap.set('n', '<leader>j', '<cmd>EthersyncJumpToCursor<cr>')
  end
}

Manual installation

If you're not using a plugin manager, here's a "quick and dirty" way to install the plugin:

git clone git@github.com:ethersync/ethersync-nvim $HOME/.local/share/nvim/site/pack/plugins/start/ethersync

Nix

For testing purposes, you can run an Ethersync-enabled Neovim like this:

nix run github:ethersync/ethersync#neovim

Confirm the installation

To confirm that the plugin is installed, try running the :EthersyncInfo command in Neovim. It should show the message "Not connected to Ethersync daemon."

Tips

We recommend creating a mapping for the :EthersyncJumpToCursor command (for example, <Leader>j, which jumps to another user's cursor.

About

Copy of the Ethersync Vim plugin from the main repo, for easier installation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages