fix crap
This commit is contained in:
parent
44d7e07635
commit
0192539dab
|
@ -118,8 +118,8 @@ return {
|
||||||
|
|
||||||
local leap = require 'leap'
|
local leap = require 'leap'
|
||||||
|
|
||||||
leap.opts.safe_labels = 'sfnutSFNLHMUGTZ?'
|
leap.opts.safe_labels = 'asfghjkliztrewb'
|
||||||
leap.opts.labels = 'sfnjklhodweimbuyvrgtaqpcxzSFNJKLHODWEIMBUYVRGTAQPCXZ?'
|
leap.opts.labels = 'sfnjklhodweimbuyvrgtaqpcxz'
|
||||||
leap.opts.special_keys = {
|
leap.opts.special_keys = {
|
||||||
next_target = '<enter>',
|
next_target = '<enter>',
|
||||||
prev_target = '<tab>',
|
prev_target = '<tab>',
|
||||||
|
@ -198,19 +198,24 @@ return {
|
||||||
local wk = require 'which-key'
|
local wk = require 'which-key'
|
||||||
local defaults = {
|
local defaults = {
|
||||||
mode = { 'n', 'v' },
|
mode = { 'n', 'v' },
|
||||||
['<localleader>'] = { name = '+select', f = { name = '[F]ind' } },
|
{ '<leader>c', group = '[C]ode/[C]olor' },
|
||||||
['g'] = { name = '+goto' },
|
{ '<leader>ct', group = '[T]rouble' },
|
||||||
[']'] = { name = '+next' },
|
{ '<leader>d', group = '[D]ebug' },
|
||||||
['['] = { name = '+prev' },
|
{ '<leader>dc', group = '[C]hange' },
|
||||||
['<leader>d'] = { name = '+[D]ebug', w = { name = '[W]indow' }, c = { name = '[C]hange' } },
|
{ '<leader>dw', group = '[W]indow' },
|
||||||
['<leader>c'] = { name = '+[C]ode/[C]olor', t = { name = '+[T]rouble' } },
|
{ '<leader>f', group = '[F]ormatting' },
|
||||||
['<leader>g'] = { name = '+[G]ood tools' },
|
{ '<leader>g', group = '[G]ood tools' },
|
||||||
['<leader>f'] = { name = '+[F]ormatting' },
|
{ '<leader>r', group = '[R]ename' },
|
||||||
['<leader>r'] = { name = '[R]ename' },
|
{ '<leader>t', group = '[T]oggle' },
|
||||||
['<leader>w'] = { name = '[W]orkspace', b = { name = 'buffer' } },
|
{ '<leader>w', group = '[W]orkspace' },
|
||||||
['<leader>t'] = { name = '[T]oggle', ['🚫'] = 'which_key_ignore' },
|
{ '<leader>wb', group = 'buffer' },
|
||||||
|
{ '<localleader>', group = 'select' },
|
||||||
|
{ '<localleader>f', group = '[F]ind' },
|
||||||
|
{ '[', group = 'prev' },
|
||||||
|
{ ']', group = 'next' },
|
||||||
|
{ 'g', group = 'goto' },
|
||||||
}
|
}
|
||||||
wk.register(defaults, opts)
|
wk.add(defaults, opts)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -638,6 +643,7 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'MeanderingProgrammer/dashboard.nvim',
|
'MeanderingProgrammer/dashboard.nvim',
|
||||||
|
enable = true,
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'MaximilianLloyd/ascii.nvim',
|
'MaximilianLloyd/ascii.nvim',
|
||||||
|
|
Loading…
Reference in New Issue