Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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.