tjdevries / astronauta.nvim

You now feel at home traveling to the moon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add options like `{ expr = true, noremap = true, silent = true, nowait = true }`

nyngwang opened this issue · comments

commented

As title.

Hi, I just added expr in latest commit, but you can do it like this:

vim.keymap.nmap {
  "<leader>t",

  function()
    return "<Plug>PlenaryTestFile"
  end,

  expr = true,
}

after the plugin has already been loaded

commented

It will be very helpful for me if you could also update the README.md. Thanks!