summaryrefslogtreecommitdiff
path: root/ar/.config/LazyVim/lua/plugins/telescope.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/LazyVim/lua/plugins/telescope.lua
init
Diffstat (limited to 'ar/.config/LazyVim/lua/plugins/telescope.lua')
-rw-r--r--ar/.config/LazyVim/lua/plugins/telescope.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/ar/.config/LazyVim/lua/plugins/telescope.lua b/ar/.config/LazyVim/lua/plugins/telescope.lua
new file mode 100644
index 0000000..0a96a09
--- /dev/null
+++ b/ar/.config/LazyVim/lua/plugins/telescope.lua
@@ -0,0 +1,24 @@
+return {
+ "nvim-telescope/telescope.nvim",
+ keys = {
+ { "<leader>/", false },
+ { "<C-f>", false },
+ { "<C-b>", false },
+ },
+ opts = function()
+ local actions = require("telescope.actions")
+
+ return {
+ defaults = {
+ mappings = {
+ i = {
+ ["<C-j>"] = actions.preview_scrolling_down,
+ ["<C-k>"] = actions.preview_scrolling_up,
+ ["<C-h>"] = actions.preview_scrolling_left,
+ ["<C-l>"] = actions.preview_scrolling_right,
+ },
+ },
+ },
+ }
+ end,
+}