From 9218d7713a7b3fa9c4437d307708c172e478f6f9 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 28 Oct 2023 14:03:53 +0200 Subject: nvim: Remove telescope --- .config/nvim/after/plugin/telescope.lua | 15 --------------- .config/nvim/lua/mango/packer.lua | 6 ------ 2 files changed, 21 deletions(-) delete mode 100644 .config/nvim/after/plugin/telescope.lua diff --git a/.config/nvim/after/plugin/telescope.lua b/.config/nvim/after/plugin/telescope.lua deleted file mode 100644 index c7f4937..0000000 --- a/.config/nvim/after/plugin/telescope.lua +++ /dev/null @@ -1,15 +0,0 @@ -local os = require('os') -local builtin = require('telescope.builtin') -local lib = require('mango.lib') - -lib.remap('n', 'pf', function() - if os.execute('git rev-parse --is-inside-work-tree') == 0 then - builtin.git_files() - else - builtin.find_files() - end -end) - -lib.remap('n', 'ps', function() - builtin.grep_string({ search = vim.fn.input('Grep > ') }) -end) diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua index 83173ba..fadc00d 100644 --- a/.config/nvim/lua/mango/packer.lua +++ b/.config/nvim/lua/mango/packer.lua @@ -5,12 +5,6 @@ return require('packer').startup(function(use) use 'wellle/targets.vim' - use { - 'nvim-telescope/telescope.nvim', - tag = '0.1.2', - requires = { { 'nvim-lua/plenary.nvim' } } - } - use { 'rose-pine/neovim', as = 'rose-pine', -- cgit v1.2.3