Skip to content

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

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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