vim: clear telescope
prompt with <c-u>
This commit is contained in:
parent
fe084ae46a
commit
c39be0a592
1 changed files with 4 additions and 0 deletions
|
@ -112,9 +112,13 @@ return {
|
|||
opts = function(_, opts)
|
||||
local actions = require("telescope.actions")
|
||||
local layout = require("telescope.actions.layout")
|
||||
local state = require("telescope.actions.state")
|
||||
local trouble = vim.F.npcall(require, "trouble.providers.telescope") or {}
|
||||
|
||||
local mappings = {
|
||||
["<c-u>"] = function(prompt_bufnr)
|
||||
state.get_current_picker(prompt_bufnr):reset_prompt()
|
||||
end,
|
||||
["<c-j>"] = actions.cycle_history_next,
|
||||
["<c-k>"] = actions.cycle_history_prev,
|
||||
["<s-down>"] = actions.preview_scrolling_down,
|
||||
|
|
Loading…
Add table
Reference in a new issue