Skip to content

Commit

Permalink
csv overrides (#63)
Browse files Browse the repository at this point in the history
* Create missing settings

* Added watch

* Added timestamp and notification

* Implemented override

* Added more actions

* cleanup

* Updated cheat sheet

* Allow dictionary or list of dictionaries

* Clean up

* Clean up

* upper case action list names

* Tweak csv file

* fixes

* Update src/csv_overrides.py

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/csv_overrides.py

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/csv_overrides.py

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/csv_overrides.py

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Error message tweaks

* Improve error message

* Fixes

* Improve logging

* Add "cell" selection type; merge scope lists

* Many improvements

* tweak

* tweaks

* tweaks

* again

* Remove unused contexts

* Support customizing range specifiers

* Clean up cheatsheet

* Tweaks

* More clean up

* Make list specifier configurable

* Ad comment

* Tweaks

* "specifier" => "connective"

* Change box to square

* Makes csv directory configurable

* Use range connectives for subtoken ranges

* Makes sub token scope type names configurable

* Use proper csv headers

* Fix removal; remove "skip past"

* Change compound names

* Disable "gray" by default

* Changes from discord session

* Fix swap connective

* Use connective overrides in cheatsheet

* Add shapes

* Fixes

* fix

* Change shape names

* Remove hats from csvs

* Disabled delimiters

* Remove shapes

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
  • Loading branch information
AndreasArvidsson and pokey authored Aug 31, 2021
1 parent e84caa2 commit 6ce114b
Show file tree
Hide file tree
Showing 28 changed files with 884 additions and 385 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"python.analysis.stubPath": "/Applications/Talon.app/Contents/Resources/python/lib/python3.9/site-packages",
"python.formatting.provider": "black"
}
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Cursorless talon

This repository contains the talon side of [Cursorless](https://marketplace.visualstudio.com/items?itemName=pokey.cursorless).
This repository contains the talon side of [Cursorless](https://marketplace.visualstudio.com/items?itemName=pokey.cursorless).

## Documentation

Full documentation can be found in [docs](docs/), or by saying `"cursorless docs"`. Once you understand the concepts, you can pull up a cheat cheat for reference using the command `"cursorless help"`.

## Installation

First, install the dependencies:

### Dependencies

1. Install [Talon](https://talonvoice.com/)
2. Install [knausj_talon](https://github.com/knausj85/knausj_talon). Note that
even a heavily modified version of knausj should be fine, but make sure you
Expand All @@ -17,13 +20,14 @@ First, install the dependencies:
If rebasing is too painful, or if you are not a user of knausj, you can just
clone [the command
client](https://github.com/pokey/talon-vscode-command-client) into your
talon user directory. You may need a couple other things from knausj but nothing major. Please file an issue if you have trouble getting this repo to work without knausj.
talon user directory. You may need a couple other things from knausj but nothing major. Please file an issue if you have trouble getting this repo to work without knausj.
3. Install [VSCode](https://code.visualstudio.com/)
4. Install the [VSCode talon extension pack](https://marketplace.visualstudio.com/items?itemName=pokey.talon)
5. Install the [Cursorless VSCode extension](https://marketplace.visualstudio.com/items?itemName=pokey.cursorless)
6. Follow the instructions below to install cursorless-vscode itself.

### Installing this repo

#### Linux & Mac

Clone repo into `~/.talon/user`
Expand All @@ -32,7 +36,7 @@ Clone repo into `~/.talon/user`
cd ~/.talon/user
git clone https://github.com/pokey/cursorless-talon cursorless-talon
```

Alternatively, access the directory by right clicking the Talon icon in taskbar, clicking Scripting>Open ~/talon, and navigating to user.

The folder structure should look something like the below:
Expand All @@ -49,15 +53,15 @@ The folder structure should look something like the below:

#### Windows

Clone repo into `%AppData%\Talon\user`
Clone repo into `%AppData%\Talon\user`

```insert code:
cd %AppData%\Talon\user
git clone https://github.com/pokey/cursorless-talon cursorless-talon
```

Alternatively, access the directory by right clicking the Talon icon in taskbar, clicking Scripting>Open ~/talon, and navigating to user.

The folder structure should look something like the below:

```insert code:
Expand Down
Loading

0 comments on commit 6ce114b

Please sign in to comment.