Skip to main content

Control FoxDot or pym2149 using Vim

Project description


Use Vim to control FoxDot or pym2149 with the aid of GNU Screen.

Build Status

Install latest release

# Tested on Linux and Mac:
pip3 install --user Concern

You will also need one of the following backends.

FoxDot backend

# Simply install, and Concern will use it:
pip3 install --user FoxDot

pym2149 backend

# Install as usual:
pip3 install --user pym2149

# Tell Concern to use it instead of foxdot:
echo Concern consumerName = pym2149 | tee -a ~/.settings.arid



# Any arguments are passed to vim, here we discover the FoxDot demo directory:
Concern "$(python3 -c 'from pkg_resources import resource_filename; print(resource_filename("FoxDot", "demo"))' | tail -1)"
  • FoxDot is running in the right hand third of the screen
  • Send code to FoxDot by typing backslash followed by enter
    • This will send the smallest top-level suite under the cursor
    • The backslash is actually your Vim leader key
  • Use visual mode to send multiple top-level suites at once
  • Use backslash ] instead of backslash enter to send from cursor to the end of the file
  • To quit you will need to terminate both Vim and FoxDot manually
    • Use ctrl a followed by n to navigate to the next GNU Screen window


# GitHub trick to download some files to play with:
svn export

# Load a non-trivial tune written in pym2149's (currently nameless) live coding language:
Concern 'contrib/Lemmings 2 Tune'
  • Once pym2149 has initialised, type backslash ] at the top of the file to send it

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Concern, version 9
Filename, size File type Python version Upload date Hashes
Filename, size Concern-9-py3-none-any.whl (23.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size Concern-9.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page