Control FoxDot or pym2149 using Vim
Project description
Concern
Use Vim to control FoxDot or pym2149 with the aid of GNU Screen.
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
Usage
FoxDot
# 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
]- 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 enter instead of backslash
]to send from cursor to the end of the file - Use backslash
qto quit all of Vim, FoxDot and GNU Screen
pym2149
# GitHub trick to download some files to play with:
svn export https://github.com/combatopera/pym2149/trunk/contrib
# Load a non-trivial tune written in pym2149's (currently nameless) live coding language:
Concern 'contrib/Lemmings 2 Tune 6.py'
- Once pym2149 has initialised, type backslash enter at the top of the file to send the whole program
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Concern-13.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
Concern-13-py3-none-any.whl
(23.7 kB
view details)
File details
Details for the file Concern-13.tar.gz.
File metadata
- Download URL: Concern-13.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bea50889d04d60f0f1232142af13b1ad6119c0966a5050004c65339295a4e38
|
|
| MD5 |
7d85fef9728079c6ab226a21c9ff9da8
|
|
| BLAKE2b-256 |
2888f6d7e42588da38a6d6bb44b5a94583bcb180bb2bbc5264143fc0610e206a
|
File details
Details for the file Concern-13-py3-none-any.whl.
File metadata
- Download URL: Concern-13-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb00488fcc0ba521c747f45af75f0afe2d6de20ccc0a2d244c0830b9a22d6d9a
|
|
| MD5 |
60f0a7931e036fddf9a159b3c07a034f
|
|
| BLAKE2b-256 |
9d3a420fe50ca446a95c254755653a985658e73f598859fa414b011cb7691a20
|