cd .config/
mkdir nvim
cd nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim\n
nvim ~/.config/nvim/lua/plugins.lua
vim .
dante@Archie ~/.config/nvim/lua $ cd theprimeagen
dante@Archie ~/.config/nvim/lua/theprimeagen $ ls
init.lua  packer.lua  remap.lua
dante@Archie ~/.config/nvim/lua/theprimeagen $ cat init.lua
require("theprimeagen.remap")
print("hello from the primeagen")
dante@Archie ~/.config/nvim/lua/theprimeagen $ cat remap.lua
vim.g.mapleader = " "
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
vim.keymap.set("n", '<C-s>' ,vim.cmd.w)
vim.keymap.set("n", '<C-w>', vim.cmd.wq)
vim.keymap.set("n", '<C-q>' ,vim.cmd.qa)

dante@Archie ~/.config/nvim/lua/theprimeagen $ cat packer.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'

  use {
  'nvim-telescope/telescope.nvim', tag = '0.1.8',
-- or                            , branch = '0.1.x',
  requires = { {'nvim-lua/plenary.nvim'} }
}
 use ({
         'rose-pine/neovim',
         as = 'rose-pine',
         config = function()
                 vim.cmd('colorscheme rose-pine')
        end
 })
use ('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
use ('nvim-treesitter/playground')
use ('mbbill/undotree')
use ('tpope/vim-fugitive')
use {
        'VonHeikemen/lsp-zero.nvim',
        requires = {
                {'neovim/nvim-lspconfig'},
                {'williamboman/mason.nvim'},
                --Autocompletion
                {'hrsh7th/nvim-cmp'},
                {'hrsh7th/cmp-buffer'},
                {'hrsh7th/cmp-path'},
                {'hrsh7th/cmp-nvim-lsp'},
                {'hrsh7th/cmp-nvim-lua'},
                {'saadparwaiz1/cmp_luasnip'},
                --Snippets
                {'rafamadriz/friendly-snippets'},
        }
}

end)
dante@Archie ~/.config/nvim/lua/theprimeagen $