You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neovide/README.md

79 lines
3.4 KiB
Markdown

# Neovide
This is a simple graphical user interface for Neovim. Where possible there are some graphical improvements, but it should act
functionally like the terminal UI.
![Basic Screen Cap](./assets/BasicScreenCap.png)
I've been using this as my daily driver since November 2019. It should be relatively stable, but I'm still working out some kinks and ironing out some cross platform issues. In general it should be usable at this point, and if it isn't I concider that a bug and appreciate a report in the issues! Any help and ideas are also greatly appreciated.
I'm also very interested in suggestions code quality/style wise when it comes to Rust. I'm pretty new to the language and appreciate any critiques that you might have to offer. I won't take all of them, but I promise to concider anything you might have to offer.
## Features
Should be a standard full features Neovim GUI. Beyond that there are some visual nicities:
### Ligatures
Supports ligatures and full Harbuzz backed font rendering.
![Ligatures](./assets/Ligatures.png)
### Animated Cursor
Cursor animates into position with a smear effect to improve tracking of cursor position.
![Animated Cursor](./assets/AnimatedCursor.gif)
### Emoji Support
Font fallback supports rendering of emoji not contained in the configured font.
![Emoji](./assets/Emoji.png)
#### More to Come
I've got more ideas for simple unobtrusive improvements. More to come.
## Install
Currently there is just a windows binary under the project releases https://github.com/Kethku/neovide/releases. I'm hoping to automate and produce mac and linux binaries as well, but I haven't gotten there yet.
Installing should be as simple as downloading the binary, making sure `nvim.exe` is on your path, and running it. Everything should be self contained.
## Building
Building instructions are somewhat limited at the moment. All the libraries I use are cross platform and should have
support for Windows Mac and Linux. The rendering however is Vulcan based, so driver support for vulcan will be
necessary. On Windows this should be enabled by default if you have a relatively recent system.
### Windows
1. Install latest version of rust. I recommend https://rustup.rs/
1. Ensure graphics libraries are up to date.
1. `git clone https://github.com/Kethku/neovide`
1. `cd neovide`
1. `cargo build --release`
1. Copy `./targets/release/neovide.exe` to a known location and enjoy.
### Mac
1. Install latest version of rust. I recommend https://rustup.rs/
1. Install vulcan sdk. I'm told `brew cask install apenngrace/vulkan/vulkan-sdk` works, but I can't test locally to find out.
1. `git clone https://github.com/Kethku/neovide`
1. `cd neovide`
1. `cargo build --release`
1. Copy `./targets/release/neovide` to a known location and enjoy.
### Linux (Probably Ubuntu, your millage may vary)
1. Install latest version of rust. I recommend https://rustup.rs/
1. Install vulcan drivers. I'm not sure how on linux. Id appreciate a PR if you know more :)
5 years ago
1. Install lib gtk `sudo apt install libgtk-3-dev`
1. `git clone https://github.com/Kethku/neovide`
1. `cd neovide`
1. `cargo build --release`
1. Copy `./targets/release/neovide` to a known location and enjoy.
If you see an error complaining about DRI3 settings, links in this issue may help. https://github.com/Kethku/neovide/issues/44#issuecomment-578618052
Note: Currently there seems to be problems with wayland https://github.com/aclysma/skulpin/issues/36. Any help would be appreciated.