sanathks / workspace.nvim

Neovim project manager, manage project within workspaces using Tmux sessions
42 stars 7 forks source link

my own keymap #4

Open seocamo opened 11 months ago

seocamo commented 11 months ago

Hi

Would it be possible to get access to open_workspace_popup, or something like it so i can make my own keymap as i use folke/which-key.nvim and have leader pp bind to this plugin but it don't let me stop at the first p and see the description, can something be added so i can aet the keymap my self

sanathks commented 2 months ago

Not sure if I get your question correct, if you want to have a different keybinding other than <leader>p, you can do it in config

{
  "sanathks/workspace.nvim",
  dependencies = {"nvim-telescope/telescope.nvim"},
  config = function()
    require("workspace").setup({
      workspaces = {
        { name = "Hobby", path = "~/projects/hobby", keymap = { "<leader>pp" } },
      }
    })
  end,
}