Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KristofferC/OhMyREPL.jl
Syntax highlighting and other enhancements for the Julia REPL
https://github.com/KristofferC/OhMyREPL.jl
julia-repl rainbow-brackets syntax-highlighting
Last synced: 12 days ago
JSON representation
Syntax highlighting and other enhancements for the Julia REPL
- Host: GitHub
- URL: https://github.com/KristofferC/OhMyREPL.jl
- Owner: KristofferC
- License: other
- Created: 2016-07-31T22:38:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T01:33:51.000Z (3 months ago)
- Last Synced: 2024-10-18T18:16:05.460Z (23 days ago)
- Topics: julia-repl, rainbow-brackets, syntax-highlighting
- Language: Julia
- Homepage: https://kristofferc.github.io/OhMyREPL.jl/latest/
- Size: 1.81 MB
- Stars: 772
- Watchers: 11
- Forks: 61
- Open Issues: 55
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-julia - Syntax highlighting and other enhancements for the Julia REPL
README
# OhMyREPL
[![][docs-stable-img]][docs-stable-url] [![build](https://github.com/KristofferC/OhMyREPL.jl/workflows/CI/badge.svg)](https://github.com/KristofferC/OhMyREPL.jl/actions?query=workflow%3ACI)
[docs-stable-img]: https://img.shields.io/badge/docs-blue.svg
[docs-stable-url]: https://kristofferc.github.io/OhMyREPL.jl/latest*This is my REPL. There are many like it, but this one is mine.*
![repl](https://i.imgur.com/wtR0ASD.png)
A package that hooks into the Julia REPL and gives it syntax highlighting, bracket highlighting, rainbow brackets and other goodies.
A (slightly outdated) video showing installation and features of the package is available [here](https://www.youtube.com/watch?v=lTLPAOLLbTU).If you like this package please give it a star. I like stars.
### Installation
```jl
Pkg.add("OhMyREPL")
```and then just load with `using OhMyREPL` (preferably by putting it in the `.julia/config/startup.jl` file)
### Features
* Syntax highlighting - Highlighting of keyword, operators, symbols, strings etc. in different colors.
* Bracket highlighting - Will make matching brackets highlighted when the cursor is between an opening and closing bracket.
* Automatic bracket insertion - Will insert matching closing bracket and quotation symbols when suitable.
* Prompt changing - Can change the text and color of the `julia>` prompt as well as add a prompt for output.
* Rainbow brackets - Colorizes matching brackets in the same color.
* Fuzzy (fzf) history search - Search REPL history in any mode fuzzily with beloved [fzf](https://github.com/junegunn/fzf).### Documentation
Please see [the documentation](https://KristofferC.github.io/OhMyREPL.jl/latest) for more extensive description of the features and their settings like how to change colorschemes, how to create your own colorschemes etc.
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
[docs-latest-url]: https://kristofferc.github.io/OhMyREPL.jl/latest/### Warning
Note that this package overwrites some methods from Julia Base. If you get a weird error when using OhMyREPL you should reproduce it without having OhMyREPL loaded before reporting it as a Julia bug.