GithubHelp home page GithubHelp logo

chivalry / neovim-dot-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rogual/neovim-dot-app

0.0 2.0 0.0 755 KB

Mac OS X GUI for Neovim

Makefile 0.36% Python 2.44% Shell 0.91% Vim Script 0.28% Objective-C 2.57% Objective-C++ 71.62% C++ 20.67% C 1.16%

neovim-dot-app's Introduction

OS X GUI for Neovim

License

This source code is distributed under the terms of the GNU General Public License, version 3:

http://www.gnu.org/licenses/gpl-3.0.html

Features

What's Done

Text editing, mouse support, tabs, clipboard, basic Mac menus, font selection, font size adjustments

Still to do

See the list of issues.

Pull requests are welcome, and greatly appreciated!

Compiling

Prerequisites

OS and Compiler

  • Neovim.app compiles on OS X 10.9 and 10.10.
  • You'll need to install Xcode and its command-line tools.
  • Homebrew isn't required but it's an easy way to install the rest of the dependencies.

SCons

$ brew install scons

MsgPack-C

$ brew install msgpack

A Neovim binary

$ brew tap neovim/homebrew-neovim
$ brew install --HEAD neovim

To compile:

$ make

This will look for a Neovim executable on your PATH. To specify an executable to use, just set the NVIM environment variable, e.g.:

$ NVIM=/path/to/nvim make

When the .app bundle is created, Vim's runtime files will be copied into it. By default, the build script asks Vim where its runtime files are, and Vim will probably say they're somewhere under /usr.

If you're compiling your own Neovim, and you don't want to install the runtime files system-wide, the build script can copy the runtime files directly from your neovim checkout. Just set VIM when compiling, e.g.:

$ VIM=/path/to/your/neovim/checkout make

If you're setting one of these options, you'll most likely want to set both.

Problems Compiling?

  • error: no member named 'ext' in 'msgpack::object::union_type'

This means your msgpack is out of date. Try:

brew uninstall msgpack
brew update
brew install msgpack
  • 'msgpack.hpp' file not found

Homebrew installs things into /usr/local, but the compiler doesn't look there unless you've run:

xcode-select --install

so try doing that!

Running the Tests

$ build/test

Q&A

I'm having Python problems

Neovim uses the first Python it finds on your PATH. If you've launched Neovim from anywhere other than a terminal, it will only see your system PATH, which probably doesn't have that fancy new version of Python you've installed on it.

To point Neovim at the Python installation you want to use, put this in your .nvimrc:

let g:python_host_prog='/path/to/python'

neovim-dot-app's People

Contributors

bfulkers avatar bulkan avatar james2doyle avatar jocelynmallon avatar ridiculousfish avatar rogual avatar snatchev avatar

Watchers

 avatar  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.