Skip to content

Commit

Permalink
add color picker
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed Feb 5, 2024
1 parent 1a3ad93 commit f6a1670
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions content/en/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,15 @@ Formatters are currently defined for c (`clang-format`), go (`gofmt`), js and js

Use: `M-x color-preview` to highlight strings denoting a color (such as "blue" or "#ffffff") in their color.

### Color picker (SDL2)

The SDL2 frontend provides a graphical color picker.

To invoke it, simply write a color name or representation inside a string, enable the color preview, and click on the color. Press `q` (`color-picker-quit`) to close it.

<img class="" src="/lem-color-picker.png" alt="Lem color picker" width="600px">


### Line numbers

Use: `M-x toggle-line-numbers`
Expand Down
Binary file added static/lem-color-picker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f6a1670

Please sign in to comment.