Compare commits
No commits in common. "26fafff8e2881b7424654eeeb5b9fc3d142dafca" and "29574b6e365bc17f4bdfafa8ae81eec7e7e69ba6" have entirely different histories.
26fafff8e2
...
29574b6e36
3 changed files with 3 additions and 53 deletions
|
|
@ -27,7 +27,7 @@ require("lazy").setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
install = { colorscheme = { "catppuccin" } },
|
install = { colorscheme = { "catppuccin" } },
|
||||||
-- checker = { enabled = true },
|
checker = { enabled = true },
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -15,30 +15,6 @@ return {
|
||||||
},
|
},
|
||||||
lazy = false,
|
lazy = false,
|
||||||
cmd = "Grapple",
|
cmd = "Grapple",
|
||||||
config = function()
|
|
||||||
-- Open graple window when open without arguments
|
|
||||||
local g = vim.api.nvim_create_augroup('Grapple-User', { clear = true })
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('StdinReadPre', {
|
|
||||||
group = g,
|
|
||||||
callback = function()
|
|
||||||
vim.g.read_from_stdin = 1
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('UIEnter', {
|
|
||||||
group = g,
|
|
||||||
callback = function()
|
|
||||||
if
|
|
||||||
vim.fn.argc() == 0
|
|
||||||
and vim.api.nvim_buf_get_name(0) == ''
|
|
||||||
and vim.g.read_from_stdin == nil
|
|
||||||
then
|
|
||||||
require("grapple").toggle_tags()
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader><leader>a", "<cmd>Grapple toggle<cr>", desc = "Toggle bookmark for current file" },
|
{ "<leader><leader>a", "<cmd>Grapple toggle<cr>", desc = "Toggle bookmark for current file" },
|
||||||
{ "<leader><leader>D", "<cmd>Grapple reset<cr>", desc = "Delete all bookmarks" },
|
{ "<leader><leader>D", "<cmd>Grapple reset<cr>", desc = "Delete all bookmarks" },
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,4 @@
|
||||||
local icons = require("aleidk.constants").icons
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
|
||||||
"rcarriga/nvim-notify",
|
|
||||||
opts = {
|
|
||||||
render = "compact",
|
|
||||||
fps = "60",
|
|
||||||
timeout = 2000,
|
|
||||||
stages = "slide",
|
|
||||||
icons = {
|
|
||||||
DEBUG = "",
|
|
||||||
TRACE = "✎",
|
|
||||||
ERROR = icons.diagnostics.Error,
|
|
||||||
INFO = icons.diagnostics.Info,
|
|
||||||
WARN = icons.diagnostics.Warn,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
-- better imputs
|
-- better imputs
|
||||||
"stevearc/dressing.nvim",
|
"stevearc/dressing.nvim",
|
||||||
|
|
@ -34,7 +16,6 @@ return {
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
},
|
},
|
||||||
---@type NoiceConfig
|
|
||||||
opts = {
|
opts = {
|
||||||
presets = {
|
presets = {
|
||||||
bottom_search = true,
|
bottom_search = true,
|
||||||
|
|
@ -59,7 +40,6 @@ return {
|
||||||
view = "mini_left"
|
view = "mini_left"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
---@type NoiceRouteConfig[]
|
|
||||||
routes = {
|
routes = {
|
||||||
{
|
{
|
||||||
-- Don't show these messages
|
-- Don't show these messages
|
||||||
|
|
@ -73,18 +53,13 @@ return {
|
||||||
{
|
{
|
||||||
event = "msg_show",
|
event = "msg_show",
|
||||||
kind = "",
|
kind = "",
|
||||||
find = "written", -- file saved msg
|
find = "written",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
event = "msg_show",
|
event = "msg_show",
|
||||||
kind = "",
|
kind = "",
|
||||||
find = "yazi.nvim",
|
find = "yazi.nvim",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
event = "msg_show",
|
|
||||||
kind = "",
|
|
||||||
find = "%d+ (more|fewer) lines", -- undo/redo msg
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -93,7 +68,7 @@ return {
|
||||||
event = "notify",
|
event = "notify",
|
||||||
min_height = 15
|
min_height = 15
|
||||||
},
|
},
|
||||||
view = 'popup',
|
view = 'popup'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
filter = {
|
filter = {
|
||||||
|
|
@ -103,7 +78,6 @@ return {
|
||||||
view = 'mini'
|
view = 'mini'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
---@type NoiceConfigViews
|
|
||||||
views = {
|
views = {
|
||||||
notify = {
|
notify = {
|
||||||
merge = true
|
merge = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue