Skip to content
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

Implement Command Mode using REPL AST Transforms #39

Open
caleb-allen opened this issue Apr 30, 2023 · 1 comment
Open

Implement Command Mode using REPL AST Transforms #39

caleb-allen opened this issue Apr 30, 2023 · 1 comment
Labels
design There may not be a correct answer feature New feature or request
Milestone

Comments

@caleb-allen
Copy link
Owner

caleb-allen commented Apr 30, 2023

VimBindings.jl may benefit from the new REPL AST transforms feature in the Julia REPL, described at about 17:00 in this video: https://youtu.be/qM9NtiYlXck

My first idea is that a new REPL mode could be added, similar to Shell mode or Help mode, but this one is instead only accessible by striking the : key while in the VimBindings normal mode. In this case, the text currently in the REPL should be saved, and restored after the command is run, depending on the action of the command.

REPL AST transforms could then be used to implement a subset of vim commands. For example

  • search with / or backwards search with ?
@caleb-allen caleb-allen added feature New feature or request design There may not be a correct answer labels Apr 30, 2023
@caleb-allen caleb-allen changed the title Implement Command Mode using REPL AST Transforms in Julia 1.9 Implement Command Mode using REPL AST Transforms Apr 30, 2023
@caleb-allen
Copy link
Owner Author

Issue related to documenting REPL AST transforms here JuliaLang/julia#37047

@caleb-allen caleb-allen added this to the 1.0 milestone May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design There may not be a correct answer feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant