nvim-pack / nvim-spectre

Find the enemy and replace them with dark power.
MIT License
1.91k stars 67 forks source link

TAB and S-TAB doesnt work #227

Open I-Own-You opened 2 months ago

I-Own-You commented 2 months ago

Hello!

Using TAB keyword i cant reproduce to go to the next query. :lua require('spectre').tab() also doesnt work.

I have remapped TAB and S-TAB in my config to something else, but even removing them doesnt work, since even :lua require('spectre').tab() doesnt work.

my config is the default one with this addings:

mapping = {
    ["open_in_vsplit"] = {
    map = "<c-v>",
    cmd = "<cmd>lua vim.cmd('vsplit ' .. require('spectre.actions').get_current_entry().filename)<CR>",
    desc = "open in vertical split",
    },
    ["open_in_split"] = {
    map = "<c-s>",
    cmd = "<cmd>lua vim.cmd('split ' .. require('spectre.actions').get_current_entry().filename)<CR>",
    desc = "open in horizontal split",
    },
    ["open_in_tab"] = {
    map = "<c-t>",
    cmd = "<cmd>lua vim.cmd('tab split ' .. require('spectre.actions').get_current_entry().filename)<CR>",
    desc = "open in new tab",
    },
},