NEOVim with Python on MAC OSX

I'm a VIM user. I've using it as VI replacement since I moved from Microsoft to Linux and Unix back on early 2000.
Knowing the basics is extremely useful because you won't find a Sublime or Atom to edit a file on a Unix box, but you will have VI or EMACS at your finger tips, regardless the unix flavor.
NEOVim (nvim) is a VIM fork that includes many cool features along with Plugins that will boost your coding experience.
There are a ton of good plugins out there which we will cover in another post, but I'd like to start with the basic and a common issue that OSX users face when dealing with NEOVim and plugins the first time, Python support.
Many of the plugins that you will use require python, either python2 or python3, so in order to avoid issues during plugins installation you must run the following commands before making any update to your init.nvim config file.
Note that you need homebrew to install python and NEOVim.

brew install python  
brew install python3  
pip2 install neovim --upgrade  
pip3 install neovim --upgrade  

To complete this, add this to your ~/.config/nvim/init.vim

let g:python2_host_prog = '/usr/local/bin/python'  
let g:python3_host_prog = '/usr/local/bin/python3'  

And of course, you have to have Neovim installed for this. The repo homebrew-neovim has all the info on how to do this.

And of course, you have to have Neovim installed for this. The repo homebrew-neovim has all the info on how to do this.

brew install neovim/neovim/neovim  

That's it. You should be able to run NEOVim and test it for the very first time. If you find yourself trapped ... remember

:qa! 

is the answer XD

Have fun!

Source: [Rico Sta. Cruz Blog] (https://ricostacruz.com/til/neovim-with-python-on-osx)