Add packer, rename to make sense
This commit is contained in:
parent
72a5ce841b
commit
39ca592932
2
init.lua
2
init.lua
|
@ -97,5 +97,5 @@ vim.opt.splitbelow=true
|
|||
vim.opt.splitright=true
|
||||
|
||||
require 'keymaps'
|
||||
require 'plugins'
|
||||
require 'config_lsp'
|
||||
require 'config_plugins'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
16
lua/plugins.lua
Normal 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()
|
Loading…
Reference in a new issue