aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/telescope/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/telescope/init.lua')
-rw-r--r--lua/alpha/telescope/init.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/lua/alpha/telescope/init.lua b/lua/alpha/telescope/init.lua
index 38cd9be..c278028 100644
--- a/lua/alpha/telescope/init.lua
+++ b/lua/alpha/telescope/init.lua
@@ -1,16 +1,16 @@
-SHOULD_RELOAD_TELESCOPE = true
+local SHOULD_RELOAD_TELESCOPE = true
local reloader = function()
if SHOULD_RELOAD_TELESCOPE then
- RELOAD "plenary"
- RELOAD "telescope"
- RELOAD "alpha.telescope.setup"
+ Reload "plenary"
+ Reload "telescope"
+ Reload "alpha.telescope.setup"
end
end
local fb_actions = require("telescope").extensions.file_browser.actions
local actions = require "telescope.actions"
-local my_actions = require "alpha.telescope.actions"
+local my_actions = require "alpha.telescope.my_actions"
local M = {}
@@ -52,8 +52,8 @@ M.find_nvim_plugin = function()
prompt_title = "< Plugins >",
cwd = "$HOME/.config/nvim/lua/plugins/",
attach_mappings = function(_, map)
- map("i", "<C-t>", my_actions.create_plugin)
- map("i", "<C-d>", my_actions.disable_plugin)
+ map("i", "<C-y>", my_actions.create_plugin)
+ map("i", "<C-w>", my_actions.disable_plugin)
map("i", "<C-e>", my_actions.enable_plugin)
return true