feat(plugin): add PendingTab command and <Plug>(pending-tab)
This commit is contained in:
parent
e867078cbd
commit
9fc24f5239
1 changed files with 10 additions and 0 deletions
|
|
@ -304,3 +304,13 @@ end)
|
|||
vim.keymap.set('n', '<Plug>(pending-add-here)', function()
|
||||
require('pending').add_here()
|
||||
end)
|
||||
|
||||
vim.keymap.set('n', '<Plug>(pending-tab)', function()
|
||||
vim.cmd.tabnew()
|
||||
require('pending').open()
|
||||
end)
|
||||
|
||||
vim.api.nvim_create_user_command('PendingTab', function()
|
||||
vim.cmd.tabnew()
|
||||
require('pending').open()
|
||||
end, {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue