perf: balance - lazy load atac (cmd) and marks (keys) for better startup
This commit is contained in:
parent
b3b5702588
commit
b28fac9f8b
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
'NachoNievaG/atac.nvim',
|
||||
cmd = 'Atac',
|
||||
dependencies = { 'akinsho/toggleterm.nvim' },
|
||||
config = function()
|
||||
require('toggleterm').setup({
|
||||
|
|
@ -11,7 +12,7 @@ return {
|
|||
close_on_exit = true,
|
||||
})
|
||||
require('atac').setup({
|
||||
dir = '~/Documents/projects/', -- By default, the dir will be set as /tmp/atac
|
||||
dir = '~/Documents/projects/',
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
return {
|
||||
'chentoast/marks.nvim',
|
||||
keys = {
|
||||
{ 'm', mode = 'n' },
|
||||
{ "'", mode = 'n' },
|
||||
{ '`', mode = 'n' },
|
||||
},
|
||||
opts = {
|
||||
default_mappings = true,
|
||||
default_view = 'vertical',
|
||||
|
|
|
|||
Loading…
Reference in a new issue