function GET_SESSION_PATH() local session_manager = require("session_manager") local current_session = session_manager.session_filename if current_session then local session_path = session_manager.get_session_file(current_session) return session_path:absolute() else return nil end end return { -- change some telescope options and a keymap to browse plugin files { "nvim-telescope/telescope.nvim", keys = { -- add a keymap to browse plugin files -- stylua: ignore { "fp", function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end, desc = "Find Plugin File", }, }, -- change some options opts = { defaults = { layout_strategy = "horizontal", layout_config = { prompt_position = "top" }, sorting_strategy = "ascending", winblend = 0, }, }, }, -- add telescope-fzf-native { "telescope.nvim", dependencies = { "nvim-telescope/telescope-fzf-native.nvim", build = "make", config = function() require("telescope").load_extension("fzf") require("telescope.builtin").live_grep({ search_dirs = { "~/.ssh/known_hosts" } }) end, }, }, }