wsl #1

Merged
cscherrNT merged 11 commits from wsl into master 2023-09-07 17:05:13 +02:00
1 changed files with 8 additions and 6 deletions
Showing only changes of commit a3ce24e379 - Show all commits

View File

@ -170,7 +170,9 @@ return {
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
{ {
-- NOTE: This is leap for selecting things!
'ggandor/flit.nvim', 'ggandor/flit.nvim',
enabled = true,
keys = function() keys = function()
---@type LazyKeys[] ---@type LazyKeys[]
local ret = {} local ret = {}
@ -187,17 +189,17 @@ return {
'ggandor/leap.nvim', 'ggandor/leap.nvim',
-- stylua: ignore -- stylua: ignore
keys = { keys = {
{ 't', '<Plug>(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' }, { 'gl', '<Plug>(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' },
{ 'T', '<Plug>(leap-backward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap backward to' }, { 'gL', '<Plug>(leap-backward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap backward to' },
{ '<leader>wt', '<Plug>(leap-from-window)', mode = { 'n', 'x', 'o' }, desc = 'Leap from windows' }, { '<leader>wl', '<Plug>(leap-from-window)', mode = { 'n', 'x', 'o' }, desc = 'Leap to windows' },
}, },
config = function () config = function ()
local leap = require('leap') local leap = require('leap')
leap.opts.case_sensitive = false leap.opts.case_sensitive = false
leap.opts.safe_labels = { 's', 'f', 'n', 'u', 't', 'e' } leap.opts.safe_labels = { 's', 'f', 'n', 'u', 't', 'e' }
leap.opts.labels = { 's', 'f', 'n', 'j', 'k', 'r', 'e', 'r', 'm', --leap.opts.labels = { 'a', 's', 'f', 'n', 'j', 'k', 'r', 'e', 'r', 'm',
'ö', 'b', 'v', 'o', 'i', 'u', 'z', 'w', '2', '3', '4', '5', '6', -- 'ö', 'b', 'v', 'u', 'z', 'w', '2', '3', '4', '5', '6',
'7', '8', '9' } -- '7', '8', '9' }
end, end,
}, },