Remove telescope-file-browser.nvim
This commit is contained in:
parent
1b3475bb12
commit
8578117a2e
|
@ -162,7 +162,6 @@ in rec {
|
|||
# Telescope
|
||||
vimPlugins.plenary-nvim
|
||||
vimPlugins.popup-nvim
|
||||
vimPlugins.telescope-file-browser-nvim
|
||||
vimPlugins.telescope-frecency-nvim
|
||||
vimPlugins.telescope-fzf-native-nvim
|
||||
vimPlugins.telescope-live-grep-args-nvim
|
||||
|
|
|
@ -88,15 +88,6 @@ function M.edit_zsh()
|
|||
require("telescope.builtin").find_files(opts)
|
||||
end
|
||||
|
||||
function M.file_browser()
|
||||
local opts = {
|
||||
cwd = vim.fn.expand "%:p:h",
|
||||
sorting_strategy = "ascending",
|
||||
}
|
||||
|
||||
require("telescope").extensions.file_browser.file_browser(opts)
|
||||
end
|
||||
|
||||
function M.find_all_files()
|
||||
local opts = {
|
||||
file_ignore_patterns = { ".direnv", ".git" },
|
||||
|
|
|
@ -26,7 +26,6 @@ telescope_mapper("<leader>/", "current_buf") -- [/] Fuzzily search in current bu
|
|||
telescope_mapper("<leader><leader>", "buffers") -- [ ] Find existing buffers
|
||||
telescope_mapper("<leader>s.", "oldfiles") -- '[S]earch Recent Files ("." for repeat)
|
||||
telescope_mapper("<leader>sF", "find_all_files") -- [S]earch all [F]iles
|
||||
telescope_mapper("<leader>sb", "file_browser") -- [S]earch using the File [B]rowser
|
||||
telescope_mapper("<leader>sf", "find_files") -- [S]earch [F]iles
|
||||
telescope_mapper("<leader>sg", "git_files") -- [S]earch [G]it Files
|
||||
telescope_mapper("<leader>sh", "help_tags") -- [S]earch [H]elp
|
||||
|
|
|
@ -87,10 +87,6 @@ telescope.setup {
|
|||
},
|
||||
|
||||
extensions = {
|
||||
file_browser = {
|
||||
theme = "ivy",
|
||||
},
|
||||
|
||||
live_grep_args = {
|
||||
auto_quoting = true,
|
||||
mappings = {
|
||||
|
@ -107,7 +103,6 @@ telescope.setup {
|
|||
},
|
||||
}
|
||||
|
||||
telescope.load_extension "file_browser"
|
||||
telescope.load_extension "fzf"
|
||||
telescope.load_extension "refactoring"
|
||||
telescope.load_extension "ui-select"
|
||||
|
|
Reference in a new issue