Skip to content

If lazy-loaded pounce does not work for the first time #1

@khalidchawtany

Description

@khalidchawtany

If lazy-loaded pounce does not work for the first time. However, after the first try everything works as expected.
Here is my config using packer:

vim.cmd [[
	nmap <leader>p <cmd>Pounce<CR>
	vmap <leader>p <cmd>Pounce<CR>
	omap <leader>P <cmd>Pounce<CR>
  ]]

use {
  "rlane/pounce.nvim",
  cmd = {"Pounce"},
  config = function()
    require "pounce".setup {
      accept_keys = "JFKDLSAHGNUVRBYTMICEOXWPQZ",
      debug = false
    }
    vim.cmd [[
	nmap <leader>p <cmd>Pounce<CR>
	vmap <leader>p <cmd>Pounce<CR>
	omap <leader>P <cmd>Pounce<CR>
  ]]
  end
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions