-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursorless in neovim / terminal #2256
base: main
Are you sure you want to change the base?
Conversation
I'm really curious about this support - are you really building a neovim / cursorless integration? That would be cool! |
@saidelike lmk when you want me to take a preliminary look; looks like you've been busy! 🙌 |
I have updated the list of repos in the initial message. |
Super excited about this. If you need testers please ping me! Would love to see screenshots/gifs of how things are going, no matter what stage that might be (no pressure though!) |
@pokey A few moments later... This is ready for review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I did some initial review; I still have to look through the rest of the PR but figured I'd leave these comments for now
packages/cursorless-engine/src/core/updateSelections/RangeUpdater.ts
Outdated
Show resolved
Hide resolved
…eferable to detect type issues before trying to run the tests
…ince in general not sleeping is fine too
I tried to not call the `TestHarnessRun()` mocha tests from neovim config file, and instead I changed it to be synchronous and I called it manually using the `:call TestHarnessRun()` command. The result is that it hangs every ten minutes. This is really weird because it shouldn't have any fail test because when I do it asynchronously there is no fail test, but instead I skip the ones I don't want to execute. ``` 2024-05-15 10:43:07 INF recorded test cases 2024-05-15 10:43:07 INF - recorded/actions/alternateHighlightHarp 2024-05-15 10:43:07 INF - recorded/actions/breakBat 2024-05-15 10:43:07 INF - recorded/actions/breakCommentSit 2024-05-15 10:43:07 INF - recorded/actions/breakJustThis 2024-05-15 10:43:07 INF - recorded/actions/breakJustThis2 2024-05-15 10:43:07 INF - recorded/actions/bringAirAfterAir 2024-05-15 10:43:07 INF - recorded/actions/bringAirAndBatAndCap 2024-05-15 10:43:07 INF - recorded/actions/bringAirAndBatAndCapToAfterDrum 2024-05-15 10:43:07 INF - recorded/actions/bringAirAndBatAndCapToAfterItemEach 2024-05-15 10:43:07 INF - recorded/actions/bringAirAndBatAndCapToBeforeDrum 2024-05-15 10:43:07 INF - recorded/actions/bringAirAndBatAndCapToBeforeItemEach 2024-05-15 10:43:07 INF - recorded/actions/bringAirBeforeAir 2024-05-15 10:43:07 INF - recorded/actions/bringAirToEndOfAir 2024-05-15 10:43:07 INF - recorded/actions/bringAirToStartOfAir 2024-05-15 10:43:07 INF - recorded/actions/bringArgMadeAfterLook 2024-05-15 10:43:07 INF - recorded/actions/bringArgMadeAfterVest 2024-05-15 10:43:07 INF - recorded/actions/bringArgueFineAndZip 2024-05-15 10:43:07 INF - recorded/actions/bringArgueOxAndZipToAfterJustLeper 2024-05-15 10:43:07 INF - recorded/actions/bringArgWhaleBeforeLook 2024-05-15 10:43:07 INF - recorded/actions/bringFineAfterLineVest 2024-05-15 10:43:07 INF - recorded/actions/bringFineBeforeLineVest 2024-05-15 10:43:07 INF - recorded/actions/bringItemAirAfterCap 2024-05-15 10:43:07 INF - recorded/actions/bringLineAirAndBatAndCapToAfterDrum 2024-05-15 10:43:07 INF - recorded/actions/bringLineAirAndBatAndCapToBeforeDrum 2024-05-15 10:43:07 INF - recorded/actions/bringVest 2024-05-15 10:43:07 INF - recorded/actions/bringVestToCap 2024-05-15 10:43:07 INF - recorded/actions/callFine 2024-05-15 10:43:07 INF - recorded/actions/callFineOnBatt 2024-05-15 10:43:07 INF - recorded/actions/callVest 2024-05-15 10:43:07 INF - recorded/actions/callVestOnCap 2024-05-15 10:43:07 INF - recorded/actions/carveVest 2024-05-15 10:53:07 INF 1) recorded/actions/changeNextInstanceChar 2024-05-15 10:53:07 INF - recorded/actions/chuckArgMadeAndAir 2024-05-15 10:53:07 INF - recorded/actions/chuckArgMadeAndAirAndJustSoon 2024-05-15 10:53:07 INF - recorded/actions/chuckEveryArgMade 2024-05-15 10:53:07 INF - recorded/actions/chuckVest 2024-05-15 10:53:07 INF - recorded/actions/clearVest 2024-05-15 10:53:07 INF - recorded/actions/cloneArgue 2024-05-15 10:53:07 INF - recorded/actions/cloneArgue2 2024-05-15 10:53:07 INF - recorded/actions/cloneEveryArg 2024-05-15 10:53:07 INF - recorded/actions/cloneHarp 2024-05-15 10:53:07 INF - recorded/actions/cloneHarp2 2024-05-15 10:53:07 INF - recorded/actions/cloneToken 2024-05-15 10:53:07 INF - recorded/actions/cloneToken2 2024-05-15 10:53:07 INF - recorded/actions/cloneToken3 2024-05-15 10:53:07 INF - recorded/actions/cloneToken4 2024-05-15 10:53:07 INF - recorded/actions/cloneToken5 2024-05-15 10:53:07 INF - recorded/actions/cloneUpArgue 2024-05-15 10:53:07 INF - recorded/actions/cloneUpArgue2 2024-05-15 10:53:07 INF - recorded/actions/cloneUpEveryArg 2024-05-15 10:53:07 INF - recorded/actions/cloneUpHarp 2024-05-15 10:53:07 INF - recorded/actions/cloneUpHarp2 2024-05-15 11:03:07 INF 2) recorded/actions/cloneUpToken ```
…into nvim-talon
…for lua since we have lua check in pre-commit
…vim package for CI
Just saw the gifs and was curious if the |
Of course feel free to do so. |
Yes it is a known bug. More info in #2322 |
…nction which I didn't port
… but fails for vscode. See cursorless-dev#2369
Repositories
This currently relies on:
Checklist for pokey
The below list can be useful to review the code since some files are based on vscode similar files.
vs packages\cursorless-vscode\src\ide\vscode\VscodeClipboard.ts