Control pym2149 (via Lurlene) or FoxDot using Vim
Project description
Concern
Control pym2149 (via Lurlene) or FoxDot using Vim
Install
These are generic installation instructions.
To use, permanently
The quickest way to get started is to install the current release from PyPI:
# 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
To use, temporarily
If you prefer to keep .local clean, install to a virtualenv:
python3 -m venv venvname
venvname/bin/pip install Concern
. venvname/bin/activate
To add a backend, substitute pip install
for pip3 install --user
above.
Commands
Concern
Vim-based live coding environment.
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 the Lurlene 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-27.tar.gz
(19.2 kB
view details)
Built Distribution
Concern-27-py3-none-any.whl
(23.9 kB
view details)
File details
Details for the file Concern-27.tar.gz
.
File metadata
- Download URL: Concern-27.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86e147da9a86cfe7655ea0505a6a4cf4b8d6f086588f1ade345cc92926173067 |
|
MD5 | 7da7374e91684a61421ab2935eb515f9 |
|
BLAKE2b-256 | 88ccc8bc2fe256d0c2d6c9376728e735aa888b6ea942f892720240bfb2e98385 |
File details
Details for the file Concern-27-py3-none-any.whl
.
File metadata
- Download URL: Concern-27-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a94a8dd129295f5dfb94f0673f234daebbc60956ac42eb66280bac52449eb27 |
|
MD5 | 758899c457f8eef19ee99cfcb9cb6294 |
|
BLAKE2b-256 | de61dd7b2bae267ef20b7da147663629e68de793cf8e7c1b4f49eca85f004e31 |