Add packer, rename to make sense

This commit is contained in:
Evie Litherland-Smith 2022-11-01 15:34:28 +00:00
parent 72a5ce841b
commit 39ca592932
12 changed files with 19 additions and 13 deletions

View file

@ -97,5 +97,5 @@ vim.opt.splitbelow=true
vim.opt.splitright=true
require 'keymaps'
require 'plugins'
require 'config_lsp'
require 'config_plugins'

View file

@ -1,4 +1,6 @@
#! /usr/bin/env sh
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim
mkdir -p $HOME/.config/nvim/
ln -s $(readlink -f init.lua) $HOME/.config/nvim/init.lua
ln -s $(readlink -f lua) $HOME/.config/nvim/lua

View file

@ -1,12 +0,0 @@
require 'plugins/config_gitsigns'
require 'plugins/config_lualine'
require 'plugins/config_nightfox'
require 'plugins/config_nvim-tree'
require 'plugins/config_sniprun'
require 'plugins/config_tabby'
require 'plugins/config_telescope'
require 'plugins/config_toggleterm'
require('trouble').setup()
require('fidget').setup()
require('hop').setup()

16
lua/plugins.lua Normal file
View file

@ -0,0 +1,16 @@
require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
end)
require 'config_plugins/config_gitsigns'
require 'config_plugins/config_lualine'
require 'config_plugins/config_nightfox'
require 'config_plugins/config_nvim-tree'
require 'config_plugins/config_sniprun'
require 'config_plugins/config_tabby'
require 'config_plugins/config_telescope'
require 'config_plugins/config_toggleterm'
require('trouble').setup()
require('fidget').setup()
require('hop').setup()