Skip to content

tauraamui/lilly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lilly

A VIM-Like editor for your terminal (chat on Discord)

Important

Lilly is in a pre-alpha state, and only suitable for use by developers. This editor is technically usable, it is the exclusive editor used to work on itself, however many features are missing, and there is no guarantee of stable features or a lack of bugs. Features, bug fixes and issues are welcome.

Screenshot 2023-11-17 20 07 13

Screenshot 2023-12-01 21 01 45

An editor designed as a batteries included experience, eliminating the need for plugins. So, basically Helix but for VIM motions. The end vision is a one to one replacement/equivalent functionality for all VIM features, macros, motions, and more.

Milestone 1: A pre-alpha release

Targets:

  • Gap buffer to replace string array
  • Within line visual mode (kind of)
  • Fix found search result highlighting
  • Horizontal scrolling
  • Splits (horizontal + vertical)
  • Goto def
  • List of active but not open buffers
  • Search/Find files
  • Workspace wide search (ripgrep + roll your own)

How to build (requires the V compiler https://vlang.io)

Build lilly by executing

`v run ./make.vsh build-prod`

or run with no binary build with

`v run ./make.vsh run`

You can see what other tasks are available to run with v run ./make.vsh --tasks

(you can shorten this command to just ./make.vsh <task> by making make.vsh executable)

Not convinced?

Not a problem, Neovim/VIM are fantastic existing projects and are freely available for you to use today.

misc + extra information

memleak checks

On macOS we get this output from running:

leaks --atExit -- ./lilly .

lilly(53176) MallocStackLogging: could not tag MSL-related memory as no_footprint, so those pages will be included in process footprint - (null)
lilly(53176) MallocStackLogging: recording malloc and VM allocation stacks using lite mode
Process 53176 is not debuggable. Due to security restrictions, leaks can only show or save contents of readonly memory of restricted processes.

Process:         lilly [53176]
Path:            /Users/USER/*/lilly
Load Address:    0x10294c000
Identifier:      lilly
Version:         0
Code Type:       ARM64
Platform:        macOS
Parent Process:  leaks [53172]

Date/Time:       2024-12-05 11:07:02.409 +0000
Launch Time:     2024-12-05 11:06:46.429 +0000
OS Version:      macOS 13.2.1 (22D68)
Report Version:  7
Analysis Tool:   /usr/bin/leaks

Physical footprint:         4513K
Physical footprint (peak):  4529K
Idle exit: untracked
----

leaks Report Version: 4.0, multi-line stacks
Process 53176: 226 nodes malloced for 22 KB
Process 53176: 0 leaks for 0 total leaked bytes.

Look at that. 0 memory leaks.

(experimental GUI render target)

Screenshot 2023-12-13 21 10 40

About

TUI editor and VIM/Neovim alternative

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published