mirror of https://github.com/LazyVim/starter
feat: add git blame and add telescope key map
parent
d47445eaea
commit
76755437cb
|
@ -12,7 +12,9 @@
|
|||
"dashboard-nvim": { "branch": "master", "commit": "681300934baf36f6184ca41f0b26aed22056d4ee" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "18e5beb3845f085b6a33c24112b37988f3f93c06" },
|
||||
"flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" },
|
||||
"git-blame.nvim": { "branch": "master", "commit": "a0282d05adbee80aaf4e2ff35b81b52940b67bed" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "1a50b94066def8591d5f65bd60a4233902e9def4" },
|
||||
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
||||
|
|
|
@ -16,7 +16,7 @@ require("lazy").setup({
|
|||
-- { import = "lazyvim.plugins.extras.formatting.prettier" },
|
||||
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||
{ import = "lazyvim.plugins.extras.lang.json" },
|
||||
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
||||
{ import = "lazyvim.plugins.extras.editor.harpoon2" },
|
||||
-- import/override with your plugins
|
||||
{ import = "plugins" },
|
||||
},
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
"f-person/git-blame.nvim",
|
||||
keys = {
|
||||
{ "<leader>gb", "<cmd>GitBlameToggle<cr>", "Git Blame Toggle" },
|
||||
},
|
||||
opts = function()
|
||||
require("gitblame").setup({
|
||||
enabled = false,
|
||||
})
|
||||
end,
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
opts = function(_, opts)
|
||||
local actions = require("telescope.actions")
|
||||
opts.defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
["<c-t>"] = actions.send_selected_to_qflist + actions.open_qflist,
|
||||
["<c-l>"] = actions.send_to_loclist + actions.open_loclist,
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
Loading…
Reference in New Issue