mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Restructure modules/shared and update all imports
- Rename modules/hosts/common to modules/shared - Split shared into home/general, home/linux, and nixos subdirectories - Update all import paths in lib/ and modules/hosts/ - Fix hardcoded /Users/ path to use config.home.homeDirectory - Update .sops.yaml path for secrets
This commit is contained in:
parent
14fbadd9aa
commit
5047d93b86
77 changed files with 44 additions and 359 deletions
14
modules/shared/files/nvim/lua/disabled/barbar.lua
Normal file
14
modules/shared/files/nvim/lua/disabled/barbar.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {'romgrk/barbar.nvim',
|
||||
dependencies = {
|
||||
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
|
||||
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
|
||||
},
|
||||
init = function() vim.g.barbar_auto_setup = false end,
|
||||
opts = {
|
||||
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
|
||||
-- animation = true,
|
||||
-- insert_at_start = true,
|
||||
-- …etc.
|
||||
},
|
||||
}
|
||||
|
||||
9
modules/shared/files/nvim/lua/disabled/cheatsheet.lua
Normal file
9
modules/shared/files/nvim/lua/disabled/cheatsheet.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"sudormrfbin/cheatsheet.nvim",
|
||||
dependencies = {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
'nvim-lua/popup.nvim',
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
config = true,
|
||||
}
|
||||
11
modules/shared/files/nvim/lua/disabled/nvim-tree.lua
Normal file
11
modules/shared/files/nvim/lua/disabled/nvim-tree.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
config = function ()
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
|
||||
require('nvim-tree').setup()
|
||||
|
||||
vim.keymap.set('n', '<c-n>', ':NvimTreeFindFileToggle<CR>')
|
||||
end
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
"Mofiqul/dracula.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme("dracula")
|
||||
end,
|
||||
}
|
||||
11
modules/shared/files/nvim/lua/disabled/themes/gruvbox.lua
Normal file
11
modules/shared/files/nvim/lua/disabled/themes/gruvbox.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
priority = 1000 ,
|
||||
config = function ()
|
||||
require("gruvbox").setup()
|
||||
|
||||
vim.o.background = "dark"
|
||||
vim.o.termguicolors = true
|
||||
vim.cmd.colorscheme "gruvbox"
|
||||
end
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
"rebelot/kanagawa.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme "kanagawa"
|
||||
end,
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
"nyoom-engineering/oxocarbon.nvim",
|
||||
config = function ()
|
||||
vim.o.background = "dark"
|
||||
vim.o.termguicolors = true
|
||||
vim.cmd.colorscheme "oxocarbon"
|
||||
end
|
||||
}
|
||||
10
modules/shared/files/nvim/lua/disabled/themes/tokyonight.lua
Normal file
10
modules/shared/files/nvim/lua/disabled/themes/tokyonight.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
-- the colorscheme should be available when starting Neovim
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
config = function()
|
||||
-- load the colorscheme here
|
||||
vim.cmd.colorscheme "tokyonight-storm"
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue