GithubHelp home page GithubHelp logo

mxple / fim Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 381 KB

A postmodern text editor for all your esoteric programming needs.

License: GNU General Public License v3.0

Rust 92.21% GLSL 7.79%

fim's Introduction

Fim

Text editing has never been more fun. [F]ancy V[im] is a semi-ironic graphical text editor for the postmodern era. Fim combines playful colors and eyecandy with the familiar navigation of Vi/m. While not meant to be used seriously (unless you really want to), Fim aims to (eventually) support advanced text editing features such as syntax highlighting and regex search. While other text editors aim to boost your productivity and workflow, Fim prioritizes something more important --- dopamine.

Note, Fim is currently in pre-alpha and is more of a tech demo than anything. It can't even write to the file system yet (so don't be afraid to test it).

Features

An expanding list of cool features:

  • Resolution independent GPU text rendering using bezier curves (credit for algorithm and shader code)
  • Built-in Vi/m navigation (WIP)
  • Lazy font loading using system fonts
  • Semi-support for Unicode characters (support for individual characters, not grapheme clusters)
  • Semi-support for some IME's (tested CJK + Thai)
  • Neovide-like cursor trail

Building

Fim uses a patched version of freetype-rs which can be found here. You will need to clone this, and the patched freetype library, then modify Cargo.toml accordingly to build. Aside from the patch, just run:

$ git clone https://github.com/mxple/fim
$ cd fim
$ cargo r --release

If you get errors regarding SDL2, refer to rust-sdl2 docs.

If errors persist, please open an issue. I want Fim to work cross platform and be easy to use :)

*Note for Mac users: Fim uses OpenGL 4.3 which is not natively supported on Mac. However, you may "emulate" gl 4.6 using Mesa + MoltenVK to translate gl -> Vulkan -> Metal calls. More detailed instructions to come after I get to testing on Mac hardware.

Contributing

If you find bugs, first check to see if the bug has already been noted in todo.md. Otherwise, please open an issue describing the bug.

Pull requests are appreciated! Especailly those that check off the todolist.

Screenshots

2024-06-18-212814_hyprshot 2024-06-17-165616_hyprshot

2024-06-19.18-34-57.mp4

fim's People

Contributors

mxple avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.