Coder Social home page Coder Social logo

geri1701 / glrnvim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beeender/glrnvim

0.0 1.0 0.0 660 KB

glrnvim wraps nvim with your favourite terminal into a standalone, non-fancy but daily-usable neovim GUI.

License: GNU General Public License v3.0

Rust 96.68% Shell 3.32%

glrnvim's Introduction

glrnvim

All Contributors

Build Status

A really fast & stable neovim GUI could be accelated by GPU.

See the speed from the screenshot: screenshot

About

glrnvim combines OpenGL (possibly), Rust and NeoVIM together, to make the fastest, simplest neovim GUI.

The above things are not totally lie. The intention of this project was that I couldn't find a standalone neovim GUI fast and stable like the old gvim. All the existing neovim GUIs are either not fast enough (what do you expect from Electron?) or not stable enough. I have been using neovim-gnome-terminal-wrapper for a long time and it is much better than any other fancy GUIs. The only thing is, it doesn't support other terminals than gnome-terminal.

glrnvim wraps nvim with your favourite terminal into a standalone, non-fancy but daily-usable neovim GUI.

Requisites

Installation

Arch Linux

Install glrnvim from the AUR.

Debian/Ubuntu

cargo install cargo-deb
  • Clone the project. Then build and install the deb package system-wide by running the following command from the project's root directory.
cargo deb --install

Build

Linux & macOS

cargo build

Windows

Not difficult, just try.

Configuration

Modify example config and copy it to your XDG_CONFIG_HOME directory.

  • For Linux: $HOME/.config/glrnvim.yml
  • For MacOS: $HOME/Library/Preferences/glrnvim.yml

Tips

Set glrnvim as the git editor for commit message

git config --global core.editor "glrnvim --nofork"

Check if it is running in a glrnvim instance in vim srcipt

if exists('g:glrnvim_gui')
    "do something
endif

Known Issues:

Color scheme doesn't work well with urxvt backend.

glrnvim uses set termguicolors to achieve an easy and better color scheme support. However, that requires the terminal to support true colors. Urxvt never has an official release to support it. Although the true color patch has been merged many years ago. If you are using Arch, just install rxvt-unicode-cvs from aur.

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Stanislav Lapata

๐Ÿ’ป

Ye Yan

๐Ÿ’ป

Lasse Wolter

๐Ÿ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

glrnvim's People

Contributors

beeender avatar stanislav-lapata avatar allcontributors[bot] avatar lassewolter avatar yeyan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.