Giter VIP home page Giter VIP logo

neovim-gtk's Introduction

neovim-gtk

CI

GTK ui for neovim written in rust using gtk-rs bindings. With ligatures support. This project began as a fork of @daa84's neovim-gtk.

There are a very large number of improvements from @daa84's version, including:

  • Lots of bugfixes
  • We're fully ported to GTK4, and have a Snapshot based renderer instead of a cairo based renderer
  • Smooth resizing

Note that I haven't set up the wiki pages for this repo yet, so wiki links still go to daa84's wiki repo.

Screenshot

Main Window

For more screenshots and description of basic usage see wiki

Configuration

To setup font add next line to ginit.vim

call rpcnotify(1, 'Gui', 'Font', 'DejaVu Sans Mono 12')

for more details see wiki

Install

From sources

First check build prerequisites

By default to /usr/local:

make install

Or to some custom path:

make PREFIX=/some/custom/path install

Fedora

TODO

Arch Linux

TODO

openSUSE

TODO

Windows

TODO

Build prerequisites

Linux

First install the GTK development packages. On Debian/Ubuntu derivatives this can be done as follows:

apt install libgtk-4-dev

On Fedora:

dnf install atk-devel glib2-devel pango-devel gtk4-devel

Then install the latest rust compiler, best with the rustup tool. The build command:

cargo build --release

As of writing this (Dec 16, 2022) the packaged rust tools in Fedora also work for building.

Windows

Neovim-gtk can be compiled using MSYS2 GTK packages. In this case use 'windows-gnu' rust toolchain.

SET PKG_CONFIG_PATH=C:\msys64\mingw64\lib\pkgconfig
cargo build --release

neovim-gtk's People

Contributors

agile avatar ammen99 avatar arvedui avatar baco avatar bk2204 avatar daa84 avatar gitter-badger avatar hasufell avatar idanarye avatar jacobmischka avatar jadahl avatar licynthiax avatar loralb avatar louisjackman avatar lyude avatar mcepl avatar medicalwei avatar mrgaturus avatar rliang avatar sdroege avatar sebastien avatar sham1 avatar thehamsta avatar valpackett avatar wontoncc avatar xvilka avatar zardoz89 avatar

Stargazers

 avatar

Watchers

 avatar  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.