Skip to content

sfsam/neovim-mac

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim for macOS

A fast, minimal, Neovim GUI for macOS.

Features

  • Fast Metal based renderer.
  • Externalized Chrome style tab bar.
  • Native clipboard support.
  • Native macOS keyboard shortcuts and behavior.

Roadmap

  • Externalized tab bar.
  • Externalized popup menu.
  • Input handling for non latin alphabets.
  • Ligature support.

Screenshots

screenshot 1 screenshot 2 screenshot 3 screenshot 4

Color Scheme Support

Neovim for macOS comes with a light and dark theme. By default, a theme will be chosen in accordance to your system appearance settings. The colors of GUI elements can be further customized via the neovim_mac#Colorscheme() function. The function accepts a dictionary with the following key / value pairs:

Key Value
appearance "light" or "dark", sets default theme and sets window title color
titlebar Window title bar color
tab_background Unselected tabs background color
tab_selected Selected tab background color
tab_hover Tab background color on mouse over
tab_title Tab title color
tab_separator Tab separator color
tab_button Tab button foreground color (close tab, add tab buttons)
tab_button_hover Tab button background color on mouse over
tab_button_highlight Tab button background color on mouse click

Colors should be in the format #rrggbb. Where xx is a hexadecimal number between 00 and ff. Alpha values are not supported. The # sign is required.

Example

To set the selected tab color to red:

:call neovim_mac#Colorscheme({"tab_selected" : "#ff0000"})

Building from Source

  1. Clone the repository and change working directories.
git clone https://github.com/JaySandhu/neovim-mac.git
cd neovim-mac
  1. Build or download Neovim.

To build Neovim from source, ensure you have the required build dependencies, then run the build script:

./build_nvim.sh {release_tag}

Alternatively, you can download a pre-built Neovim release:

./download_nvim.sh {release_tag}

Both the build script and the download script accept an optional release tag argument (e.g. v0.8.0, nightly, stable). If no release is specified, the scripts default to stable. Neovim versions v0.8.0 and newer supported.

  1. Build the app.
xcodebuild -configuration Release

If everything went as planned, you'll find Neovim.app in build/release.

Credits

License

License

About

A fast Neovim GUI for macOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C++ 40.0%
  • C++ 39.0%
  • Objective-C 16.6%
  • Metal 1.7%
  • C 1.1%
  • Shell 0.6%
  • Other 1.0%