⚙️ config(nvim): misc changes

This commit is contained in:
Sergio Laín 2025-03-14 01:57:34 +01:00
parent 72d510bd77
commit 3d6d97cef9
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438
4 changed files with 11 additions and 18 deletions

View file

@ -115,7 +115,7 @@ ac("BufWritePre", {
}) })
-- Toggle lazygit instead of closing -- Toggle lazygit instead of closing
vim.api.nvim_create_autocmd("TermOpen", { ac("TermOpen", {
pattern = "*", pattern = "*",
callback = function() callback = function()
local term_title = vim.b.term_title local term_title = vim.b.term_title

View file

@ -1,7 +1,5 @@
return { return {
{ { import = "lazyvim.plugins.extras.coding.yanky" },
import = "lazyvim.plugins.extras.coding.yanky",
},
{ {
"gbprod/yanky.nvim", "gbprod/yanky.nvim",
opts = function(_, opts) opts = function(_, opts)
@ -36,11 +34,7 @@ return {
{ {
"<leader>sy", "<leader>sy",
function() function()
if LazyVim.pick.picker.name == "telescope" then
require("telescope").extensions.yank_history.yank_history({})
else
vim.cmd([[YankyRingHistory]]) vim.cmd([[YankyRingHistory]])
end
end, end,
mode = { "n", "v" }, mode = { "n", "v" },
desc = "Yank History", desc = "Yank History",

View file

@ -2,12 +2,6 @@ local prefix = "<leader>o"
return { return {
{ import = "plugins.extras.lang.markdown-extended" }, { import = "plugins.extras.lang.markdown-extended" },
{
"MeanderingProgrammer/render-markdown.nvim",
opts = {
preset = "obsidian",
},
},
{ {
-- "epwalsh/obsidian.nvim", -- "epwalsh/obsidian.nvim",
"obsidian-nvim/obsidian.nvim", -- NOTE: Using a fork from the community "obsidian-nvim/obsidian.nvim", -- NOTE: Using a fork from the community
@ -90,6 +84,8 @@ return {
attachments = { attachments = {
img_folder = "00 - Data/Documentos", img_folder = "00 - Data/Documentos",
}, },
ui = { enable = false },
}, },
}, },
{ {

View file

@ -1,6 +1,9 @@
return { return {
{ import = "lazyvim.plugins.extras.ui.edgy" },
{
"folke/edgy.nvim", "folke/edgy.nvim",
opts = { opts = {
animate = { enabled = false }, animate = { enabled = false },
}, },
},
} }