From 803ef20e2af0d581b88f550d6f4b659ab8cb0bc7 Mon Sep 17 00:00:00 2001 From: Georgi Dimitrov Date: Fri, 22 Sep 2023 15:36:27 +0100 Subject: [PATCH] neovim: remove menufacture --- nvim/lua/plugins/telescope.lua | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua index 52f576fd..07e4e5e1 100644 --- a/nvim/lua/plugins/telescope.lua +++ b/nvim/lua/plugins/telescope.lua @@ -101,11 +101,6 @@ return { override_file_sorter = true, case_mode = 'smart_case', }, - menufacture = { - mappings = { - main_menu = { [{ 'i', 'n' }] = '' }, - }, - }, repo = { list = { fd_opts = { @@ -125,21 +120,20 @@ return { telescope.load_extension('noice') telescope.load_extension('fzf') telescope.load_extension('lsp_handlers') - telescope.load_extension('menufacture') telescope.load_extension('repo') local keymap = require('utils.keymap') keymap.set('n', 'ft', command.load_command, { desc = 'Open telescope' }) - keymap.set('n', 'ff', telescope.extensions.menufacture.find_files, { desc = 'Files' }) + keymap.set('n', 'ff', builtin.find_files, { desc = 'Files' }) keymap.set('n', 'fd', function() builtin.find_files({ search_dirs = { os.getenv('HOME') .. '/dotfiles' } }) end, { desc = 'dotfiles' }) keymap.set('n', 'f/', builtin.current_buffer_fuzzy_find, { desc = 'Current file' }) - keymap.set('n', 'f*', telescope.extensions.menufacture.grep_string, { desc = 'Word under cursor' }) + keymap.set('n', 'f*', builtin.grep_string, { desc = 'Word under cursor' }) keymap.set('n', 'fb', function() builtin.buffers({ show_all_buffers = true, sort_lastused = true }) end, { desc = 'Buffers' }) - keymap.set('n', 'fa', telescope.extensions.menufacture.live_grep, { desc = 'Fuzzy live grep' }) + keymap.set('n', 'fa', builtin.live_grep, { desc = 'Fuzzy live grep' }) keymap.set('n', 'fm', builtin.keymaps, { desc = 'Keymapss' }) keymap.set('n', 'fgb', builtin.git_branches, { desc = 'Branches' }) keymap.set('n', 'fgc', builtin.git_commits, { desc = 'Commits' }) @@ -159,9 +153,6 @@ return { { 'gbrlsnchs/telescope-lsp-handlers.nvim', }, - { - 'molecule-man/telescope-menufacture', - }, { 'cljoly/telescope-repo.nvim', },