summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/telescope.lua
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 /.config/nvim/after/plugin/telescope.lua
parent78b825745b18638651c3279edf2ba55f025ea4a0 (diff)
nvim: Remove telescope
Diffstat (limited to '.config/nvim/after/plugin/telescope.lua')
-rw-r--r--.config/nvim/after/plugin/telescope.lua15
1 files changed, 0 insertions, 15 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)