neovim-gtk/README.md

35 lines
833 B
Markdown
Raw Normal View History

2016-06-27 14:48:00 +00:00
# neovim-gtk
2017-03-06 21:05:48 +00:00
GTK ui for neovim written in rust using gtk-rs bindings.
2017-03-07 11:50:09 +00:00
# Screenshot
![Main Window](/screenshots/neovimgtk-screen.png?raw=true)
# Font settings
2017-03-12 19:56:55 +00:00
By default gnome settings are used:
```bash
gsettings get org.gnome.desktop.interface monospace-font-name
```
2017-03-07 10:44:28 +00:00
To setup font add next line to *ginit.vim*
2017-03-06 21:10:41 +00:00
```vim
2017-03-06 21:05:48 +00: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 15:22:17 +00:00
```
cargo run -- --nvim-bin-path=E:\Neovim\bin\nvim.exe
```
2017-03-31 13:24:11 +00:00
# Build
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
```