🖍️ Plugin and Theme Formatting
- Formatting cleanup
This commit is contained in:
+3
-12
@@ -2,12 +2,7 @@
|
|||||||
-- ---------------------------------- Style ------------------------------------
|
-- ---------------------------------- Style ------------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Set the palette
|
-- Get the kitty theme
|
||||||
if os.getenv("CATPPUCCIN_PALETTE") then
|
|
||||||
TMEMEPALETTE =
|
|
||||||
require("catppuccin.palettes").get_palette(os.getenv("CATPPUCCIN_PALETTE"))
|
|
||||||
end
|
|
||||||
|
|
||||||
if os.getenv("KITTY_THEME") then
|
if os.getenv("KITTY_THEME") then
|
||||||
KITTY_THEME = os.getenv("KITTY_THEME")
|
KITTY_THEME = os.getenv("KITTY_THEME")
|
||||||
end
|
end
|
||||||
@@ -16,9 +11,5 @@ end
|
|||||||
vim.cmd.colorscheme(KITTY_THEME or "catppuccin-frappe")
|
vim.cmd.colorscheme(KITTY_THEME or "catppuccin-frappe")
|
||||||
|
|
||||||
-- Set GUI font
|
-- Set GUI font
|
||||||
--vim.opt.guifont = "MonaspiceKr Nerd Font Mono:#e-subpixelantialias:h13"
|
vim.opt.guifont = "Iosevka:#e-subpixelantialias:h12"
|
||||||
vim.opt.guifont = "Iosevka:#e-subpixelantialias:h13"
|
vim.g.have_nerd_font = true
|
||||||
vim.g.have_nerd_font = true
|
|
||||||
|
|
||||||
-- Set transparency
|
|
||||||
vim.cmd(":TransparentDisable")
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- ------------------------------- ANSI-escape ---------------------------------
|
-- ------------------------------- ANSI-escape ---------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'vim-scripts/AnsiEsc.vim',
|
"vim-scripts/AnsiEsc.vim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
|
||||||
-- ----------------------------- auto-dark-mode --------------------------------
|
|
||||||
-- -----------------------------------------------------------------------------
|
|
||||||
return {
|
|
||||||
"f-person/auto-dark-mode.nvim",
|
|
||||||
lazy = true,
|
|
||||||
opts = {
|
|
||||||
update_interval = 1000,
|
|
||||||
set_dark_mode = function()
|
|
||||||
vim.o.background = "dark"
|
|
||||||
local kitty_theme = os.getenv("KITTY_THEME")
|
|
||||||
vim.cmd.colorscheme(kitty_theme or "catppuccin-frappe")
|
|
||||||
end,
|
|
||||||
set_light_mode = function()
|
|
||||||
vim.o.background = "light"
|
|
||||||
local kitty_theme = os.getenv("KITTY_THEME")
|
|
||||||
vim.cmd.colorscheme(kitty_theme or "catppuccin-latte")
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
cond = function() -- Not Using SSH or root
|
|
||||||
local ssh = os.getenv("SSH_TTY")
|
|
||||||
local user = os.getenv("USER")
|
|
||||||
return not ssh and user ~= "root"
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@@ -6,4 +6,5 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require("auto-save").setup({})
|
require("auto-save").setup({})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,4 +30,5 @@ return {
|
|||||||
})
|
})
|
||||||
require("codewindow").apply_default_keybinds()
|
require("codewindow").apply_default_keybinds()
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- -------------------------------- Colorizer ----------------------------------
|
-- -------------------------------- Colorizer ----------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"norcalli/nvim-colorizer.lua",
|
"norcalli/nvim-colorizer.lua",
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@@ -6,4 +6,5 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require("Comment").setup()
|
require("Comment").setup()
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- -------------------------------- Dashboard ----------------------------------
|
-- -------------------------------- Dashboard ----------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"nvimdev/dashboard-nvim",
|
"nvimdev/dashboard-nvim",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
|
|||||||
@@ -28,4 +28,5 @@ return {
|
|||||||
})
|
})
|
||||||
vim.cmd(":set colorcolumn=120")
|
vim.cmd(":set colorcolumn=120")
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,12 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- ---------------------------------- Gists ------------------------------------
|
-- ---------------------------------- Gists ------------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"Rawnly/gist.nvim",
|
"Rawnly/gist.nvim",
|
||||||
cmd = { "GistCreate", "GistCreateFromFile", "GistsList" },
|
cmd = { "GistCreate", "GistCreateFromFile", "GistsList" },
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
-- `GistsList` opens the selected gif in a terminal buffer,
|
|
||||||
-- nvim-unception uses neovim remote rpc functionality to open the gist in an actual buffer
|
|
||||||
-- and prevents neovim buffer inception
|
|
||||||
{
|
{
|
||||||
"samjwill/nvim-unception",
|
"samjwill/nvim-unception",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
|
|||||||
+3
-4
@@ -1,7 +1,6 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- ----------------------------------- gx --------------------------------------
|
-- ----------------------------------- gx --------------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"chrishrb/gx.nvim",
|
"chrishrb/gx.nvim",
|
||||||
keys = {
|
keys = {
|
||||||
@@ -9,12 +8,12 @@ return {
|
|||||||
"gx",
|
"gx",
|
||||||
"<cmd>Browse<cr>",
|
"<cmd>Browse<cr>",
|
||||||
mode = { "n", "x" },
|
mode = { "n", "x" },
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
cmd = { "Browse" },
|
cmd = { "Browse" },
|
||||||
init = function()
|
init = function()
|
||||||
vim.g.netrw_nogx = 1 -- disable netrw gx
|
vim.g.netrw_nogx = 1
|
||||||
end,
|
end,
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
config = true, -- default settings
|
config = true,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,4 +17,5 @@ return {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- ------------------------------- Icon Picker ---------------------------------
|
-- ------------------------------- Icon Picker ---------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"ziontee113/icon-picker.nvim",
|
"ziontee113/icon-picker.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@@ -7,4 +7,5 @@ return {
|
|||||||
local term = os.getenv("TERM")
|
local term = os.getenv("TERM")
|
||||||
return term and string.find(term, "kitty")
|
return term and string.find(term, "kitty")
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ return {
|
|||||||
lazy = true,
|
lazy = true,
|
||||||
cmd = { "KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth" },
|
cmd = { "KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth" },
|
||||||
event = { "User KittyScrollbackLaunch" },
|
event = { "User KittyScrollbackLaunch" },
|
||||||
-- version = '*', -- latest stable version, may have breaking changes if major version changed
|
version = "*",
|
||||||
-- version = '^5.0.0', -- pin major version, include fixes and features that do not have breaking changes
|
config = function() -- Using Kitty-Scrollback
|
||||||
config = function()
|
|
||||||
if vim.env.KITTY_SCROLLBACK_NVIM == "true" then
|
if vim.env.KITTY_SCROLLBACK_NVIM == "true" then
|
||||||
require("kitty-scrollback").setup()
|
require("kitty-scrollback").setup()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- --------------------------------- LazyGit -----------------------------------
|
-- --------------------------------- LazyGit -----------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"kdheepak/lazygit.nvim",
|
"kdheepak/lazygit.nvim",
|
||||||
cmd = {
|
cmd = {
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ return {
|
|||||||
"folke/persistence.nvim",
|
"folke/persistence.nvim",
|
||||||
event = "BufReadPre",
|
event = "BufReadPre",
|
||||||
opts = {},
|
opts = {},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,4 +10,5 @@ return {
|
|||||||
"nvim-telescope/telescope.nvim", -- For picking b/w different remote methods
|
"nvim-telescope/telescope.nvim", -- For picking b/w different remote methods
|
||||||
},
|
},
|
||||||
config = true,
|
config = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- ----------------------------- rip-substitute --------------------------------
|
-- ----------------------------- rip-substitute --------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"chrisgrieser/nvim-rip-substitute",
|
"chrisgrieser/nvim-rip-substitute",
|
||||||
cmd = "RipSubstitute",
|
cmd = "RipSubstitute",
|
||||||
|
|||||||
@@ -82,4 +82,5 @@ return {
|
|||||||
vim.fn.sign_define("smoothcursor_�", { text = "" })
|
vim.fn.sign_define("smoothcursor_�", { text = "" })
|
||||||
vim.fn.sign_define("smoothcursor_R", { text = "" })
|
vim.fn.sign_define("smoothcursor_R", { text = "" })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- ------------------------------- Transparent ---------------------------------
|
-- ------------------------------- Transparent ---------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"xiyaowong/transparent.nvim",
|
"xiyaowong/transparent.nvim",
|
||||||
}
|
config = true,
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- --------------------------- User-getting-bored ------------------------------
|
-- --------------------------- User-getting-bored ------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"mikesmithgh/ugbi",
|
"mikesmithgh/ugbi",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
|
|||||||
+4
-3
@@ -1,7 +1,8 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- ----------------------------------- Ayu -------------------------------------
|
-- ----------------------------------- Ayu -------------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
return{
|
return {
|
||||||
"Shatur/neovim-ayu",
|
"Shatur/neovim-ayu",
|
||||||
lazy = true
|
lazy = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user