return { "dimaportenko/project-cli-commands.nvim", dependencies = { "akinsho/toggleterm.nvim", "nvim-telescope/telescope.nvim", }, keys = { { "sc", "Telescope project_cli_commands open", desc = "[s]earch [c]ommands", }, }, config = function() local OpenActions = require("project_cli_commands.open_actions") local RunActions = require("project_cli_commands.actions") require("project_cli_commands").setup({ -- Key mappings bound inside the telescope window running_telescope_mapping = { [""] = RunActions.exit_terminal, [""] = RunActions.open_float, [""] = RunActions.open_vertical, [""] = RunActions.open_horizontal, }, open_telescope_mapping = { { mode = "i", key = "", action = OpenActions.execute_script_vertical }, { mode = "n", key = "", action = OpenActions.execute_script_vertical }, { mode = "i", key = "", action = OpenActions.execute_script }, { mode = "n", key = "", action = OpenActions.execute_script }, { mode = "i", key = "", action = OpenActions.execute_script_with_input }, { mode = "n", key = "", action = OpenActions.execute_script_with_input }, { mode = "i", key = "", action = OpenActions.copy_command_clipboard }, { mode = "n", key = "", action = OpenActions.copy_command_clipboard }, { mode = "i", key = "", action = OpenActions.execute_script_float }, { mode = "n", key = "", action = OpenActions.execute_script_float }, { mode = "i", key = "", action = OpenActions.execute_script_vertical }, { mode = "n", key = "", action = OpenActions.execute_script_vertical }, }, }) end, }