⚙️ 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
vim.api.nvim_create_autocmd("TermOpen", {
ac("TermOpen", {
pattern = "*",
callback = function()
local term_title = vim.b.term_title

View file

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

View file

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

View file

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