Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Lyude/neovim-gtk
gtk ui for neovim
https://github.com/Lyude/neovim-gtk
Last synced: about 2 months ago
JSON representation
gtk ui for neovim
- Host: GitHub
- URL: https://github.com/Lyude/neovim-gtk
- Owner: Lyude
- License: gpl-3.0
- Fork: true (daa84/neovim-gtk)
- Created: 2021-05-18T17:58:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T14:04:04.000Z (3 months ago)
- Last Synced: 2024-07-11T16:01:57.378Z (3 months ago)
- Language: Rust
- Size: 3.31 MB
- Stars: 151
- Watchers: 3
- Forks: 9
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# neovim-gtk
[![CI](https://github.com/Lyude/neovim-gtk/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Lyude/neovim-gtk/actions/workflows/ci.yml)
GTK ui for neovim written in rust using gtk-rs bindings. With
[ligatures](https://github.com/daa84/neovim-gtk/wiki/Configuration#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_ resizingNote 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](/screenshots/neovimgtk-screen.png?raw=true)For more screenshots and description of basic usage see [wiki](https://github.com/daa84/neovim-gtk/wiki/GUI)
# Configuration
To setup font add next line to `ginit.vim`
```vim
call rpcnotify(1, 'Gui', 'Font', 'DejaVu Sans Mono 12')
```
for more details see [wiki](https://github.com/daa84/neovim-gtk/wiki/Configuration)# Install
## From sources
First check [build prerequisites](#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:
``` shell
apt install libgtk-4-dev
```On Fedora:
```bash
dnf install atk-devel glib2-devel pango-devel gtk4-devel
```Then install the latest rust compiler, best with the
[rustup tool](https://rustup.rs/). 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
```