summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/maps/find.lua7
-rw-r--r--lua/plugins.lua11
-rw-r--r--lua/telescope_config.lua6
3 files changed, 21 insertions, 3 deletions
diff --git a/lua/maps/find.lua b/lua/maps/find.lua
index e1071f5..d886d8a 100644
--- a/lua/maps/find.lua
+++ b/lua/maps/find.lua
@@ -28,6 +28,13 @@ vim.api.nvim_set_keymap(
vim.api.nvim_set_keymap(
"n",
+ "<leader>gcl",
+ ":Telescope conflicts<CR>",
+ { silent = true, noremap = true }
+)
+
+vim.api.nvim_set_keymap(
+ "n",
"<leader>f",
":Telescope live_grep<CR>",
{ silent = true, noremap = true }
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 8a36e7c..f399c25 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -113,6 +113,17 @@ return require("packer").startup(function(use)
}
}
}
+
+ use {
+ "Snikimonkd/telescope-git-conflicts.nvim",
+ commit = "1ac7040f601d16ab3800bdda6f5912a0e385cb29",
+ requires = {
+ {
+ "nvim-lua/plenary.nvim",
+ commit = "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683"
+ }
+ }
+ }
-- Telescope end
-- Markdown
diff --git a/lua/telescope_config.lua b/lua/telescope_config.lua
index 572e6bd..04719cb 100644
--- a/lua/telescope_config.lua
+++ b/lua/telescope_config.lua
@@ -7,6 +7,6 @@ require("telescope").setup({
}
})
-require('telescope').load_extension("fzf")
-require('telescope').load_extension("file_browser")
-
+require("telescope").load_extension("fzf")
+require("telescope").load_extension("file_browser")
+require("telescope").load_extension("conflicts")