Skip to content

Instantly share code, notes, and snippets.

@destinio
Last active December 28, 2022 16:43
Show Gist options
  • Save destinio/4db96f63018be7e2d7b61d5dc74424b5 to your computer and use it in GitHub Desktop.
Save destinio/4db96f63018be7e2d7b61d5dc74424b5 to your computer and use it in GitHub Desktop.
NeoVim: MacOSX

Welcome

Inspired By:

Install NeoVim

https://github.com/neovim/neovim/wiki/Installing-Neovim#macos--os-x

Install Packer

https://github.com/wbthomason/packer.nvim#quickstart

git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim
cd ~

mkdir -p .config/nvm/lua

touch .config/init.lua
touch .config/plugins.lua

nvim .config/plugins.lua
-- This file can be loaded by calling `lua require('plugins')` from your init.vim

-- Only required if you have packer configured as `opt`
vim.cmd [[packadd packer.nvim]]

return require('packer').startup(function(use)
  -- Packer can manage itself
  use 'wbthomason/packer.nvim'
end)
``

restart neovim

`:PackerSync`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment