Go to file
daa 08d8408adc Fix crush on startup (#17, #13)
Solution: on_resize/ui_attach events must always update model, so model manipulation commands will always works right
2017-10-11 18:55:29 +03:00
desktop Fix gnome panel issues (#12) 2017-09-22 18:05:12 +03:00
runtime/plugin Add neovim-qt compatible layer (#5) 2017-05-24 14:01:51 +03:00
screenshots Update screenshot 2017-09-14 20:01:22 +03:00
src Fix crush on startup (#17, #13) 2017-10-11 18:55:29 +03:00
.gitignore Initial gtk ui 2016-03-16 17:39:53 +03:00
appveyor.yml Fix rendering, draw curved underline 2017-09-12 12:56:40 +03:00
build.rs Add Home/End buttons support(#15) 2017-09-26 16:04:14 +03:00
Cargo.lock Support double_width chars 2017-09-13 12:39:02 +03:00
Cargo.toml Support double_width chars 2017-09-13 12:39:02 +03:00
LICENSE Initial commit 2016-06-27 17:43:25 +03:00
Makefile Fix gnome panel issues (#12) 2017-09-22 18:05:12 +03:00
README.md Update README.md 2017-09-14 20:13:02 +03:00
rustfmt.toml rustfmt.toml 2017-02-26 22:34:08 +03:00

neovim-gtk Build status

GTK ui for neovim written in rust using gtk-rs bindings. With ligatures support.

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

Command line

  • pass nvim custom execution path (by default used nvim command)
cargo run -- --nvim-bin-path=E:\Neovim\bin\nvim.exe

Install

From sources

By default to /usr/local:

make install

Or to some custom path:

make PREFIX=/some/custom/path install

Ubuntu snap package

Not usable for now due to some limitation!

This package also includes neovim, so neovim not needed and if present in system - not used. Install command:

sudo snap install nvim-gtk --channel=candidate

There is some limitation for package: only /home directory available for editing and '~' is mapped to snap home directory. Config files must be placed in ~/snap/nvim-gtk/common/config/nvim/[g]init.vim directory

Run command: nvim-gtk <file_name> or from dash: NeovimGtk.

To run neovim provided by snap package execute: nvim-gtk.neovim.

Build

Linux

Install GTK development packages. Install latest rust compiler, better use rustup tool. Build command:

cargo build --release

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