nvim: update leap.nvim plugin configuration

This commit is contained in:
Primrose 2026-01-03 16:02:30 +01:00
parent 58ffb4a7af
commit a57b3a6c0b
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 4 additions and 3 deletions

View file

@ -14,7 +14,7 @@
"haskell-tools.nvim": { "branch": "master", "commit": "5fb8eda3c4430cb1d473d3e2138b070bdca1c224" },
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
"leap.nvim": { "branch": "main", "commit": "f19d43590c4b6d31188ee1ea2954d2b7558a9e11" },
"leap.nvim": { "branch": "main", "commit": "af1dedf49efe203b98c65970a6bb652af256b882" },
"milou": { "branch": "haddock", "commit": "ae95eb2ebdbc4228931ceefa64f86b877213dc62" },
"no-neck-pain.nvim": { "branch": "main", "commit": "ecc584150f5c8a2a82f2e1d43201df0f65c63d0e" },
"nvim-autopairs": { "branch": "master", "commit": "c2a0dd0d931d0fb07665e1fedb1ea688da3b80b4" },

View file

@ -37,7 +37,7 @@ local plugins = {
-- Jump anywhere
{
"ggandor/leap.nvim",
"https://codeberg.org/andyg/leap.nvim",
dependencies = "tpope/vim-repeat",
lazy = false,
},

View file

@ -1,2 +1,3 @@
local leap = require("leap")
leap.add_default_mappings()
vim.keymap.set({ "n", "x", "o" }, "s", function() leap.leap() end)
vim.keymap.set("n", "S", function() leap.leap { backward = true } end)