diff --git a/home-manager/neovim/default.nix b/home-manager/neovim/default.nix index 04bcc32..1e259af 100644 --- a/home-manager/neovim/default.nix +++ b/home-manager/neovim/default.nix @@ -135,7 +135,6 @@ in telescope-nvim telescope-fzf-native-nvim telescope-ui-select-nvim - telescope-file-browser-nvim # LSP nvim-lspconfig diff --git a/home-manager/neovim/keymaps.lua b/home-manager/neovim/keymaps.lua index 12b69e4..31b23cc 100644 --- a/home-manager/neovim/keymaps.lua +++ b/home-manager/neovim/keymaps.lua @@ -25,7 +25,6 @@ nnoremap("G", ":Flog -all -date=relative -open-cmd=new") local telescope = require("telescope.builtin") local telescope_themes = require("telescope.themes") local telescope_projects = require("telescope").extensions.projects -local telescope_file_browser = require("telescope").extensions.file_browser local function map_telescope(key, telescope_function) vim.api.nvim_set_keymap("n", key, "", { @@ -38,7 +37,7 @@ local function map_telescope(key, telescope_function) end map_telescope("ff", telescope.find_files) -map_telescope("fb", telescope_file_browser.file_browser) +map_telescope("fb", telescope.buffers) map_telescope("fg", telescope.git_files) map_telescope("fp", telescope_projects.projects) map_telescope("fs", telescope.lsp_document_symbols) diff --git a/home-manager/neovim/telescope.lua b/home-manager/neovim/telescope.lua index 72472a0..2bb00cd 100644 --- a/home-manager/neovim/telescope.lua +++ b/home-manager/neovim/telescope.lua @@ -21,13 +21,9 @@ telescope.setup({ ["ui-select"] = { themes.get_dropdown({}) }, - file_browser = { - hijack_netrw = true, - }, } }) telescope.load_extension("fzf") telescope.load_extension("ui-select") telescope.load_extension("projects") -telescope.load_extension("file_browser")