summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-28 14:03:53 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-28 14:03:53 +0200
commit9218d7713a7b3fa9c4437d307708c172e478f6f9 (patch)
treefa75a8866d78735c276e769df8933170df4993a2
parent78b825745b18638651c3279edf2ba55f025ea4a0 (diff)
nvim: Remove telescope
-rw-r--r--.config/nvim/after/plugin/telescope.lua15
-rw-r--r--.config/nvim/lua/mango/packer.lua6
2 files changed, 0 insertions, 21 deletions
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', '<leader>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', '<leader>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
@@ -6,12 +6,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',
config = function()