diff options
author | HampusM <hampus@hampusmat.com> | 2024-06-09 13:52:08 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-06-09 13:52:08 +0200 |
commit | 5692bf2d44358c843a132d259f0c864b07cb30b3 (patch) | |
tree | 7e39eda03315fac117cc7dd60745f1382388fd95 /lua | |
parent | e775b13c6ad8939033740d8ba5e95898905f9ad2 (diff) |
use telescope-git-conflicts plugin
Diffstat (limited to 'lua')
-rw-r--r-- | lua/maps/find.lua | 7 | ||||
-rw-r--r-- | lua/plugins.lua | 11 | ||||
-rw-r--r-- | lua/telescope_config.lua | 6 |
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") |