mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Fleshout the default nvim setup
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
return {
|
||||
"folke/snacks.nvim",
|
||||
opts = {
|
||||
scroll = {
|
||||
enabled = false, -- Disable scrolling animations
|
||||
},
|
||||
},
|
||||
}
|
8
config/nvim/lua/plugins/theme.lua
Normal file
8
config/nvim/lua/plugins/theme.lua
Normal file
@ -0,0 +1,8 @@
|
||||
return {
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "tokyonight",
|
||||
},
|
||||
},
|
||||
}
|
45
config/nvim/plugin/after/transparency.lua
Normal file
45
config/nvim/plugin/after/transparency.lua
Normal file
@ -0,0 +1,45 @@
|
||||
-- transparent background
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "FloatBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "Pmenu", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "Terminal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "EndOfBuffer", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "FoldColumn", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "Folded", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "SignColumn", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "WhichKeyFloat", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopeBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopeNormal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopePromptBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopePromptTitle", { bg = "none" })
|
||||
|
||||
-- transparent background for neotree
|
||||
vim.api.nvim_set_hl(0, "NeoTreeNormal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NeoTreeNormalNC", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NeoTreeVertSplit", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NeoTreeWinSeparator", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NeoTreeEndOfBuffer", { bg = "none" })
|
||||
|
||||
-- transparent background for nvim-tree
|
||||
vim.api.nvim_set_hl(0, "NvimTreeNormal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NvimTreeVertSplit", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NvimTreeEndOfBuffer", { bg = "none" })
|
||||
|
||||
-- transparent notify background
|
||||
vim.api.nvim_set_hl(0, "NotifyINFOBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyERRORBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyWARNBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyTRACEBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyDEBUGBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyINFOTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyERRORTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyWARNTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyTRACETitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyDEBUGTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyINFOBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyERRORBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyWARNBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyTRACEBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyDEBUGBorder", { bg = "none" })
|
@ -1,5 +1,9 @@
|
||||
# Copy over omarchy configs
|
||||
cp -R ~/.local/share/omarchy/config/* ~/.config/
|
||||
|
||||
# Install LazyVim
|
||||
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
||||
rm -rf ~/.config/nvim/.git
|
||||
|
||||
# Copy over Omarchy configs
|
||||
cp -R ~/.local/share/omarchy/config/* ~/.config/
|
||||
|
||||
# Turn off relative line numbers in nvim
|
||||
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua
|
||||
|
@ -1,4 +1,5 @@
|
||||
yay -S --noconfirm \
|
||||
nvim mise docker \
|
||||
nvim luarocks tree-sitter-cli \
|
||||
mise docker \
|
||||
lazygit lazydocker \
|
||||
github-cli
|
||||
|
Reference in New Issue
Block a user