comdrop.nvim
is a plugin allowing you to simple and fast access to commands set by
you as well as commands defined by other plugins in neovim.
Just press a key and find the command you need.
Using vim-plug
Plug 'dchiluisac/comdrop.nvim'
Using dein
call dein#add('dchiluisac/comdrop.nvim')
Using packer.nvim
use { 'dchiluisac/comdrop.nvim' }
Try the command :ComDrop<cr>
to see if comdrop.nvim
is installed correctly.
Using Lua:
require('comdrop').setup()
This section should help you explore available options to configure and
customize your comdrop.nvim
.
local comdrop = require('comdrop')
local listCommands = {
{ title = 'Telescope', command = 'Telescope' },
{ title = 'diagnostic_jump_next', command = 'Lspsaga diagnostic_jump_next'},
{ title = 'diagnostic_jump_prev', command = 'Lspsaga diagnostic_jump_prev'},
{ title = 'Commits', command = 'Telescope git_commits' },
{ title = 'Git Diff', command = 'DiffviewOpen' },
{ title = 'Git close', command = 'DiffviewClose'},
}
comdrop.setup {
listCommands = listCommands,
systemCommands = false -- default true
}