Control pym2149 (via Lurlene) or FoxDot 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
q
to 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-21.tar.gz
(7.4 kB
view details)
Built Distribution
Concern-21-py3-none-any.whl
(24.8 kB
view details)
File details
Details for the file Concern-21.tar.gz
.
File metadata
- Download URL: Concern-21.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ff243b222f9933335fe13e73553633a8668bf169804f7c1768291e2577ed15 |
|
MD5 | 1fb617381ab2882caaf33e3298b73e16 |
|
BLAKE2b-256 | f33220f090f1e0f8a58a47f06138254d494e28d9a85c431fe4068ec20d987bf3 |
File details
Details for the file Concern-21-py3-none-any.whl
.
File metadata
- Download URL: Concern-21-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b795c704147ad18ee3a6d3a5af516352bcf8b8d34b25284150d67fe0df31ae6c |
|
MD5 | 21da93faef1347ac7edca9b7d2e53a1e |
|
BLAKE2b-256 | 1ad0c962dadecd10dcc869b7aa84223c588350f1a9808fa5e59403717d73ee3e |