20250118.1737209075
This commit is contained in:
parent
ed1f856b78
commit
4093bc4581
5 changed files with 24 additions and 12 deletions
|
@ -2,18 +2,14 @@ local mapvimkey = require("utils.keymapper").mapvimkey
|
|||
|
||||
local config = function()
|
||||
local telescope = require("telescope")
|
||||
local copy_filename_to_clipboard = require("utils.telescope_addons").copy_filename_to_clipboard
|
||||
telescope.setup({
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-j>"] = "move_selection_next",
|
||||
["<C-k>"] = "move_selection_previous",
|
||||
["<C-c>"] = copy_filename_to_clipboard,
|
||||
},
|
||||
n = {
|
||||
["<C-c>"] = copy_filename_to_clipboard,
|
||||
},
|
||||
n = {},
|
||||
},
|
||||
},
|
||||
pickers = {
|
||||
|
@ -37,7 +33,7 @@ end
|
|||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
lazy = false,
|
||||
tag = '0.1.8',
|
||||
tag = "0.1.8",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = config,
|
||||
keys = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue