Skip to content

Commit

Permalink
fix(leap-nvim): only set recommended mappings from leap.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Apr 19, 2024
1 parent c211cc5 commit 90614b9
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions lua/astrocommunity/motion/leap-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,18 @@ return {
},
mappings = {
n = {
["s"] = { "<Plug>(leap-forward-to)", desc = "Leap forward to" },
["S"] = { "<Plug>(leap-backward-to)", desc = "Leap backward to" },
["s"] = { "<Plug>(leap-forward)", desc = "Leap forward" },
["S"] = { "<Plug>(leap-backward)", desc = "Leap backward" },
["gs"] = { "<Plug>(leap-from-window)", desc = "Leap from window" },
},
x = {
["s"] = { "<Plug>(leap-forward-to)", desc = "Leap forward to" },
["S"] = { "<Plug>(leap-backward-to)", desc = "Leap backward to" },
["x"] = { "<Plug>(leap-forward-till)", desc = "Leap forward till" },
["X"] = { "<Plug>(leap-backward-till)", desc = "Leap backward till" },
["s"] = { "<Plug>(leap-forward)", desc = "Leap forward" },
["S"] = { "<Plug>(leap-backward)", desc = "Leap backward" },
["gs"] = { "<Plug>(leap-from-window)", desc = "Leap from window" },
},
o = {
["s"] = { "<Plug>(leap-forward-to)", desc = "Leap forward to" },
["S"] = { "<Plug>(leap-backward-to)", desc = "Leap backward to" },
["x"] = { "<Plug>(leap-forward-till)", desc = "Leap forward till" },
["X"] = { "<Plug>(leap-backward-till)", desc = "Leap backward till" },
["s"] = { "<Plug>(leap-forward)", desc = "Leap forward" },
["S"] = { "<Plug>(leap-backward)", desc = "Leap backward" },
["gs"] = { "<Plug>(leap-from-window)", desc = "Leap from window" },
},
},
Expand Down

0 comments on commit 90614b9

Please sign in to comment.