Skip to content
/ valin Public

Cross-platform code editor made with Freya 🦀 and Rust

License

Notifications You must be signed in to change notification settings

marc2332/valin

Repository files navigation

Discord Server

Valin ⚒️

Valin ⚒️ is a Work-In-Progress cross-platform code editor, made with Freya 🦀 and Rust.

Valin name is derived from Dvalinn and it was previously known as freya-editor.

Demo

You can download it from the Releases page or run it from source code, with --release mode if you want max performance.

Notes

  • It currently uses Jetbrains Mono for the text editor, you must have it installed.
  • The syntax highlighter is still very generic and is targeted to Rust code at the moment.

Features

  • Open folders
  • Open files
  • Save files
  • Generic Syntax highlighting
  • Text editing
  • Text selection
  • Copy
  • Paste
  • Undo
  • Redo
  • Files explorer
  • Settings
  • Intellisense (Enable with --lsp)
    • Hover (exprimental, only rust-analyzer atm)
    • Autocomplete
    • Code actions

Shortcuts

  • Alt E: Toggle focus between the files explorer and the code editors
  • Alt +: Increase font size
  • Alt -: Decrease font size
  • Esc: Open Commander
  • Arrows: Navigate the files explorer when focused
  • Alt Arrows: Scroll the editor and the cursor with increased speed
  • Alt Arrows: Scroll the cursor with increased speed
  • Ctrl Arrows: Scroll the cursor with increased speed
  • Ctrl/Meta Z: Undo
  • Ctrl/Meta Y: Redo
  • Ctrl/Meta X: Cut
  • Ctrl/Meta C: Copy
  • Ctrl/Meta V: paste
  • Ctrl/Meta S: Save

MIT License