♻️ refactor(nvim): replace a lot of things do to snacks.nvim addition
This commit is contained in:
parent
8a21254df3
commit
e133013776
9 changed files with 4 additions and 30 deletions
|
@ -191,11 +191,11 @@ map("n", "<leader>@", "zug", { desc = "Remove Word from Dictionary" })
|
|||
-- Terminal Stuff
|
||||
if not LazyVim.has("floaterm.nvim") or not LazyVim.has("toggleterm.nvim") then
|
||||
local lazyterm = function()
|
||||
LazyVim.terminal(nil, { size = { width = 0.8, height = 0.8 }, cwd = LazyVim.root() })
|
||||
Snacks.terminal(nil, { size = { width = 0.8, height = 0.8 }, cwd = LazyVim.root() })
|
||||
end
|
||||
map("n", "<leader>ft", lazyterm, { desc = "Terminal (Root Dir)" })
|
||||
map("n", "<leader>fT", function()
|
||||
LazyVim.terminal(nil, { size = { width = 0.8, height = 0.8 }, cwd = vim.fn.getcwd() })
|
||||
Snacks.terminal(nil, { size = { width = 0.8, height = 0.8 }, cwd = vim.fn.getcwd() })
|
||||
end, { desc = "Terminal (cwd)" })
|
||||
map("n", [[<c-\>]], lazyterm, { desc = "Terminal (Root Dir)" })
|
||||
map("t", [[<c-\>]], "<cmd>close<cr>", { desc = "Hide Terminal" })
|
||||
|
@ -229,7 +229,7 @@ map("n", "go", "<Cmd>call append(line('.'), repeat([''], v:count1))<CR>", { desc
|
|||
map({ "c", "i", "t" }, "<M-BS>", "<C-w>", { desc = "Delete Word" })
|
||||
|
||||
-- Git
|
||||
map("n", "<leader>ghb", LazyVim.lazygit.blame_line, { desc = "Blame Line" })
|
||||
map("n", "<leader>ghb", Snacks.git.blame_line, { desc = "Blame Line" })
|
||||
|
||||
-- Windows Split
|
||||
map("n", "<leader>_", "<C-W>s", { desc = "Split Window Below", remap = true })
|
||||
|
|
|
@ -7,8 +7,6 @@ vim.loader.enable()
|
|||
-- Personal Config and LazyVim global options
|
||||
go.lualine_info_extras = false
|
||||
go.codeium_cmp_hide = false
|
||||
go.lazyvim_statuscolumn.folds_open = true
|
||||
go.lazyvim_statuscolumn.folds_githl = true
|
||||
go.lazygit_config = false
|
||||
|
||||
-- Define leader key
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
return {
|
||||
{
|
||||
"chrisgrieser/nvim-recorder",
|
||||
dependencies = { "rcarriga/nvim-notify" },
|
||||
event = "VeryLazy",
|
||||
vscode = true,
|
||||
keys = {
|
||||
|
|
|
@ -3,9 +3,6 @@ local prefix = "<leader>a"
|
|||
return {
|
||||
{
|
||||
"chrisgrieser/nvim-scissors",
|
||||
dependencies = {
|
||||
"rcarriga/nvim-notify",
|
||||
},
|
||||
opts = {
|
||||
jsonFormatter = "jq",
|
||||
},
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
return {
|
||||
"rcarriga/nvim-notify",
|
||||
opts = {
|
||||
fps = 75,
|
||||
stages = "slide",
|
||||
render = "wrapped-compact",
|
||||
timeout = 2000,
|
||||
},
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
return {
|
||||
"LunarVim/bigfile.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
opts = {
|
||||
filesize = 1, -- size of the file in MiB, the plugin round file sizes to the closest MiB
|
||||
},
|
||||
}
|
|
@ -8,7 +8,6 @@ return {
|
|||
|
||||
-- optional
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"rcarriga/nvim-notify",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
opts = {},
|
||||
|
|
|
@ -2,9 +2,6 @@ return {
|
|||
{
|
||||
"epwalsh/pomo.nvim",
|
||||
cmd = { "TimerStart", "TimerStop", "TimerRepeat" },
|
||||
dependencies = {
|
||||
"rcarriga/nvim-notify",
|
||||
},
|
||||
opts = {
|
||||
notifiers = {
|
||||
{
|
||||
|
|
|
@ -22,7 +22,6 @@ return {
|
|||
{ "windwp/nvim-ts-autotag" },
|
||||
|
||||
-- UI
|
||||
{ "rcarriga/nvim-notify" },
|
||||
{ "lukas-reineke/indent-blankline.nvim" },
|
||||
{ "stevearc/dressing.nvim" },
|
||||
{ "folke/noice.nvim" },
|
||||
|
@ -31,5 +30,6 @@ return {
|
|||
|
||||
-- Util
|
||||
{ "folke/persistence.nvim" },
|
||||
{ "folke/snacks.nvim" },
|
||||
{ "nvim-lua/plenary.nvim" },
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue