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

teamtype/teamtype-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim plugin for 🍃 Teamtype-compatible collaborative software

This plugin adds real-time collaborative editing functionality to Neovim. You can use it for pair programming or note-taking, for example. It is mainly meant to be used with Teamtype, but can also be configured to work with other collaborative software speaking the same protocol.

Important

This plugin requires at least Neovim 0.7.0 (which was released in 2022).

Installation

Manual installation

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

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

Plugin managers

Usually, you will add the string "teamtype/teamtype-nvim" to your plugin manager. Here's some example configuration blocks:

Lazy

{
  "teamtype/teamtype-nvim",
  keys = {
    { "<leader>ej", "<cmd>TeamtypeJumpToCursor<cr>" },
    { "<leader>ef", "<cmd>TeamtypeFollow<cr>" },
  },
  lazy = false,
}

pckr.nvim

{
  "teamtype/teamtype-nvim",
  config = function()
    vim.keymap.set('n', '<leader>ej', '<cmd>TeamtypeJumpToCursor<cr>')
    vim.keymap.set('n', '<leader>ef', '<cmd>TeamtypeFollow<cr>')
  end
}

Confirm the installation

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

Tips

We recommend creating mappings for the :TeamtypeJumpToCursor and :TeamtypeFollow command, see above configurations for examples.

Configuration

See the help file for details on configuring this plugin.

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