i get leap now

This commit is contained in:
Christoph J. Scherr 2023-09-06 18:36:47 +02:00
parent 5acb76be95
commit 65330b2498
1 changed files with 9 additions and 6 deletions

View File

@ -30,11 +30,11 @@ return {
-----------------------------------------------------------------------------
{
'olimorris/persisted.nvim',
enabled = false,
enabled = true,
event = 'VimEnter',
priority = 1000,
opts = {
autoload = true,
autoload = false,
follow_cwd = false,
ignored_dirs = { '/usr', '/opt', '~/.cache', vim.env.TMPDIR or '/tmp' },
},
@ -187,11 +187,14 @@ return {
'ggandor/leap.nvim',
-- stylua: ignore
keys = {
{ 'ss', '<Plug>(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' },
{ 'sS', '<Plug>(leap-backward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap backward to' },
{ 'SS', '<Plug>(leap-from-window)', mode = { 'n', 'x', 'o' }, desc = 'Leap from windows' },
{ 'tt', '<Plug>(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' },
{ 'tt', '<Plug>(leap-backward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap backward to' },
{ 'tt', '<Plug>(leap-from-window)', mode = { 'n', 'x', 'o' }, desc = 'Leap from windows' },
},
config = true,
config = function ()
local leap = require('leap')
leap.opts.case_sensitive = false
end,
},
-----------------------------------------------------------------------------