junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
65.89k stars 2.41k forks source link

<esc> button not close fzf lua menu after open - but toggle respect git ignore toggle insted - and working by long press on esc #4043

Closed codehubdev123 closed 1 month ago

codehubdev123 commented 1 month ago

Checklist

Output of fzf --version

i dont know but installed 18 oct = today

OS

Shell

Problem / Steps to reproduce

button not close fzf lua menu after open - but toggle respect git ignore toggle insted - and if long press on close it Note : ctrl-c & ctrl-z working 100% but not working ``` return { "ibhagwan/fzf-lua", -- optional for icon support dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() -- calling `setup` is optional for customization require("fzf-lua").setup({ colorscheme = "catppuccin-latte", fzf_opts = { --[[ ["--keep-right"] = "", ]] ["--layout"] = "default", -- :h fzf-lua-fzf-colors than check highllight section }, -- some other option maybe susefull --[[ winopts = { ]] --[[ fullscreen = true, ]] --[[ preview = { ]] --[[ layout = "vertical", ]] --[[ vertical = "up:45%", ]] --[[ }, ]] --[[ }, ]] -- to generate color pallte from current theme --[[ hls = { border = "FloatBorder" }, ]] --[[ fzf_colors = true, ]] }) -- vim.keymap.set("n", "p", function() -- require("telescope.builtin").find_files() -- end, { desc = "Files Find" }) vim.keymap.set("n", "p", require("fzf-lua").files, { desc = "FZF [L]ist [F]iles" }) -- vim.keymap.set("n", "r", function() -- require("telescope.builtin").registers() -- end, { desc = "Browse Registers" }) vim.keymap.set("n", "r", require("fzf-lua").registers, { desc = "Registers" }) -- vim.keymap.set("n", "m", function() -- require("telescope.builtin").marks() -- end, { desc = "Browse Marks" }) vim.keymap.set("n", "m", require("fzf-lua").marks, { desc = "FZF [L]ist [M]arks" }) -- vim.keymap.set("n", "f", function() -- require("telescope.builtin").live_grep() -- end, { desc = "Find string" }) vim.keymap.set("n", "bf", require("fzf-lua").live_grep, { desc = "Fzf Grep" }) -- vim.keymap.keymap.set("n", "b", function() -- require("telescope.builtin").buffers({ --vim.keymapignore_current_buffer = true, -- sort_mru = true, -- }) -- end, { desc = "Browse Buffers" }) vim.keymap.set("n", "b", require("fzf-lua").buffers, { desc = "FZF [L]ist [B]uffers" }) --vim.keymap -- vim.keymap.set("n", "j", function() -- require("telescope.builtin").help_tags() -- end, { desc = "Browse Help Tags" }) --[[ vim.keymap.set("n", "j", require("fzf-lua").helptags, { desc = "Help Tags" }) ]] -- vim.keymap.set("n", "gc", function() -- require("telescope.builtin").git_bcommits() -- end, { desc = "Browse File Commits" }) vim.keymap.set("n", "gc", require("fzf-lua").git_bcommits, { desc = "Browse File Commits" }) -- vim.keymap.set("n", "e", function() -- require("telescope").extensions.file_browser.file_browser() -- end, { desc = "Files Explore" }) -- vim.keymap.set("n", "s", function() -- require("telescope.builtin").spell_suggest(require("telescope.themes").get_cursor({})) -- end, { desc = "Spelling Suggestions" }) --[[ vim.keymap.set( ]] --[[ "n", ]] --[[ "s", ]] --[[ ":lua require'fzf-lua'.spell_suggest({ winopts = {relative='cursor',row=1.01, col=0, height=0.2, width=0.2} })", ]] --[[ { desc = "Spelling Suggestions" } ]] --[[ ) ]] -- vim.keymap.set("n", "gs", function() -- require("telescope.builtin").git_status() -- end, { desc = "Git Status" }) vim.keymap.set("n", "gs", require("fzf-lua").git_status, { desc = "Git Status" }) -- vim.keymap.set("n", "ca", function() -- vim.lsp.buf.code_action() -- end, { desc = "Code Actions" }) --[[ vim.keymap.set( ]] --[[ "n", ]] --[[ "ca", ]] --[[ ":lua require'fzf-lua'.lsp_code_actions({ winopts = {relative='cursor',row=1.01, col=0, height=0.2, width=0.4} })", ]] --[[ { desc = "Code Actions" } ]] --[[ ) ]] -- vim.keymap.set("n", "ch", function() -- vim.lsp.buf.hover() -- end, { desc = "Code Hover" }) -- vim.keymap.set("n", "cl", function() -- vim.diagnostic.open_float(0, { scope = "line" }) -- end, { desc = "Line Diagnostics" }) --[[ vim.keymap.set( ]] --[[ "n", ]] --[[ "cl", ]] --[[ require("fzf-lua").lsp_document_diagnostics, ]] --[[ { desc = "Document Diagnostics Actions" } ]] --[[ ) ]] -- vim.keymap.set("n", "cj", function() -- vim.lsp.buf.definition() -- end, { desc = "Jump to Definition" }) -- [E]vim.keymap.set("n", "cj", require("fzf-lua").lsp_definitions, { desc = "Jump to Definition" }) -- vim.keymap.set("n", "cs", function() -- require("telescope.builtin").lsp_document_symbols() -- end, { desc = "Code Symbols" }) -- [E] vim.keymap.set("n", "cs", require("fzf-lua").lsp_document_symbols, { desc = "Document Symbols" }) -- vim.keymap.set("n", "cd", function() -- require("telescope.builtin").diagnostics({ bufnr = 0 }) -- end, { desc = "Code Diagnostics" }) -- vim.keymap.set("n", "cd", require("fzf-lua").diagnostics_document, { desc = "Document Diagnostics" }) -- vim.keymap.set("n", "cr", function() -- require("telescope.builtin").lsp_references() -- end, { desc = "Code References" }) --[E] vim.keymap.set("n", "cr", require("fzf-lua").lsp_references, { desc = "LSP References" }) end, } ```
junegunn commented 1 month ago

You should report it to fzf-lua issue tracker.

codehubdev123 commented 1 month ago

this i the version 0.44.1 (debian)