Skip to content

azatakmyradov/command.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

command.nvim

This plugin was influenced by Harpoon for nvim. It has a similar functionality where you can define list of commands and run it using a set of keymaps.

Installation

-- Lazy
{
    'azatakmyradov/command.nvim',
    config = function()
        require("hcommand").setup()
    end
}

Ex:

vim.keymap.set('n', '<leader>qe', '<cmd>lua require("hcommand").open()<cr>', { noremap = true, silent = true })
vim.keymap.set('n', '<leader>qw', '<cmd>lua require("hcommand").close()<cr>', { noremap = true, silent = true })
vim.keymap.set('n', '<leader>qq', '<cmd>lua require("hcommand").toggle()<cr>', { noremap = true, silent = true })
vim.keymap.set('n', '<leader>qr', '<cmd>lua require("hcommand").execute(1)<cr>', { noremap = true, silent = true })

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages