Files
neovim-gtk/README.md

37 lines
933 B
Markdown
Raw Normal View History

2016-06-27 17:48:00 +03:00
# neovim-gtk
2017-03-07 00:05:48 +03:00
GTK ui for neovim written in rust using gtk-rs bindings.
2017-03-07 14:50:09 +03:00
# Screenshot
![Main Window](/screenshots/neovimgtk-screen.png?raw=true)
# Font settings
2017-03-12 22:56:55 +03:00
By default gnome settings are used:
```bash
gsettings get org.gnome.desktop.interface monospace-font-name
```
2017-03-07 13:44:28 +03:00
To setup font add next line to *ginit.vim*
2017-03-07 01:10:41 +04:00
```vim
2017-03-07 00:05:48 +03:00
call rpcnotify(1, 'Gui', 'Font', 'DejaVu Sans Mono 12')
```
# Command line
As this project uses gtk-rs, custom option by GtkApplication not supported yet.
There is workaround to pass nvim execution path.
2017-03-07 18:22:17 +03:00
```
cargo run -- --nvim-bin-path=E:\Neovim\bin\nvim.exe
```
2017-03-31 16:24:11 +03:00
# Build
2017-03-31 23:23:05 +03:00
## Linux
Install GTK development packages. Install latest rust compiler, better use *rustup* tool. Build command:
2017-03-31 16:24:11 +03:00
```
cargo build --release
```
2017-03-31 23:23:05 +03:00
2017-03-31 16:24:11 +03:00
## 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
```