folke / noice.nvim

💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
Apache License 2.0
4.3k stars 100 forks source link

bug: Cursor cannot move when I use %s (substitute) #735

Closed Jaehaks closed 2 months ago

Jaehaks commented 7 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

v0.2.17.0 nvim-qt

Operating system/version

Windows 10

Describe the bug

I usually remap and to move cursor in command line and it works if I disable noice.nvim Remapping code is written in keymaps.lua and call it first before noice configuration file. When I hit :%s/ to substitute a word, Remapping key does not work

1) :test => remapping key works 2) :h %stest => remapping key works 3) :%s/test =>remapping key dose not work

Turning off all format of cmdline and popup, It has same issue.

I cannot find any remapping and in noice.nvim code image

Steps To Reproduce

  1. keymapping to h
  2. enter :%s/test
  3. enter

Expected Behavior

moving cursor function works

Repro

return {
    'folke/noice.nvim',
    --enabled = false,
    event = 'VeryLazy',
    dependencies = {
        'MunifTanjim/nui.nvim',
        'rcarriga/nvim-notify'
    },
    opts = {
        lsp = {
--          -- override markdown rendering so that **cmp** and other plugins use **Treesitter**
--          override = {
--            ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
--            ["vim.lsp.util.stylize_markdown"] = true,
--            ["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
--          },
        },
        -- you can enable a preset for easier configuration
        presets = {
            bottom_search = true, -- use a classic bottom cmdline for search
            command_palette = true, -- position the cmdline and popupmenu together
            long_message_to_split = true, -- long messages will be sent to a split
            inc_rename = false, -- enables an input dialog for inc-rename.nvim
            lsp_doc_border = true, -- add a border to hover docs and signature help
        },
        messages = {
            enabled = true,
            view = 'mini',          -- show message in right bottom, short delay
            view_error = 'popup',
            view_warn = 'mini',
            view_history = 'messages',
            view_search = 'virtualtext'
        },
        cmdline = {
            enabled = true,
            view = 'cmdline_popup',
        }
    }
}
github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 7 days with no activity.