summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/leap.lua
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-07-05 21:26:02 -0400
committerSam Nystrom <sam@samnystrom.dev>2023-07-05 21:26:02 -0400
commite5c8f244466ff4da4b12c1bbfd2292a8408ff1d2 (patch)
tree978e99f5e9fdb7877a15ebe54eaa6d06dee71a92 /.config/nvim/lua/plugins/leap.lua
parent22f001c91a158c1bc576a74ecae5a33402f83ab8 (diff)
Add Neovim config
Diffstat (limited to '.config/nvim/lua/plugins/leap.lua')
-rw-r--r--.config/nvim/lua/plugins/leap.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/leap.lua b/.config/nvim/lua/plugins/leap.lua
new file mode 100644
index 0000000..7c755ca
--- /dev/null
+++ b/.config/nvim/lua/plugins/leap.lua
@@ -0,0 +1,18 @@
+return {
+ {
+ "ggandor/leap.nvim",
+ keys = { "s", "S" },
+ config = function()
+ require("leap").add_default_mappings()
+ end
+ },
+ {
+ "ggandor/flit.nvim",
+ dependencies = { "ggandor/leap.nvim" },
+ keys = { "f", "F", "t", "T" },
+ opts = {
+ labeled_modes = "nvx",
+ },
+ },
+}
+