typeintandem / tandem

Typing in Tandem. Decentralized, cross-editor, collaborative text-editing!
Apache License 2.0
698 stars 20 forks source link

Create Vim Plugin #29

Closed rageandqq closed 6 years ago

rageandqq commented 6 years ago

Created a basic vim plugin. You will need to navigate to the plugins/vim directory, open the file there (will add absolute path support later) and run the source % command to run the plugin (runs once).

Added __init__.py files to directories along the imported path.

See https://docs.google.com/document/d/1kXPzDM_bWvmW6sOMJ2US1ftaFefYniX4OfroY73Wrrk/edit?usp=sharing for more details.

In the future, I'll work on moving this to a plugin that can be configured into your ~/.vimrc, with a bound command such as :Tandem to spawn the agent.

Here's the sample response from the agent now (output is echo'd by Vim):

screen shot 2018-01-03 at 4 17 17 pm
rageandqq commented 6 years ago

Linking https://github.com/geoffxy/tandem/issues/33 for reference.