summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Mora Unie Youer <[email protected]>2025-03-06 22:07:24 +0300
committerLibravatar Mora Unie Youer <[email protected]>2025-03-06 22:07:24 +0300
commitf0ece4441abda2643791dafa88c42707a5e12bd1 (patch)
tree6781708b65f23885b8a6ec7b530dc5df7a5033e1
parentfix: duplicate keybindings from default plugin settings (diff)
downloadneovim-configuration-f0ece4441abda2643791dafa88c42707a5e12bd1.tar.gz
neovim-configuration-f0ece4441abda2643791dafa88c42707a5e12bd1.tar.bz2
neovim-configuration-f0ece4441abda2643791dafa88c42707a5e12bd1.tar.lz
neovim-configuration-f0ece4441abda2643791dafa88c42707a5e12bd1.tar.xz
neovim-configuration-f0ece4441abda2643791dafa88c42707a5e12bd1.tar.zst
neovim-configuration-f0ece4441abda2643791dafa88c42707a5e12bd1.zip
feat: use `telepath.nvim` instead of `leap-spooky.nvim`
-rw-r--r--flake.lock19
-rw-r--r--flake.nix7
-rw-r--r--lua/config/plugins/leap.lua6
3 files changed, 28 insertions, 4 deletions
diff --git a/flake.lock b/flake.lock
index a21e59f..cb0466c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -244,12 +244,29 @@
"type": "github"
}
},
+ "plugins-telepath-nvim": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1713157094,
+ "narHash": "sha256-h1NILk/EAbhb9jONHAApFs9Z2f8oZsWy15Ici6+TLxw=",
+ "owner": "rasulomaroff",
+ "repo": "telepath.nvim",
+ "rev": "2879da05463db7bdc8824b13cccd8e8920c62a55",
+ "type": "github"
+ },
+ "original": {
+ "owner": "rasulomaroff",
+ "repo": "telepath.nvim",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"neovim-nightly-overlay": "neovim-nightly-overlay",
"nixCats": "nixCats",
"nixpkgs": "nixpkgs_2",
- "plugins-leap-spooky-nvim": "plugins-leap-spooky-nvim"
+ "plugins-leap-spooky-nvim": "plugins-leap-spooky-nvim",
+ "plugins-telepath-nvim": "plugins-telepath-nvim"
}
},
"treefmt-nix": {
diff --git a/flake.nix b/flake.nix
index cc59abd..f3c7e97 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,6 +42,11 @@
url = "github:ggandor/leap-spooky.nvim";
flake = false;
};
+
+ plugins-telepath-nvim = {
+ url = "github:rasulomaroff/telepath.nvim";
+ flake = false;
+ };
};
# see :help nixCats.flake.outputs
@@ -128,7 +133,7 @@
# use with packadd and an autocommand in config to achieve lazy loading
optionalPlugins = {
gitPlugins = with pkgs.neovimPlugins; {
- leap = [ leap-spooky-nvim ];
+ leap = [ leap-spooky-nvim telepath-nvim ];
};
general = with pkgs.vimPlugins; {
diff --git a/lua/config/plugins/leap.lua b/lua/config/plugins/leap.lua
index 2a7be2d..ed23683 100644
--- a/lua/config/plugins/leap.lua
+++ b/lua/config/plugins/leap.lua
@@ -5,12 +5,14 @@ return {
load = function(name)
vim.cmd.packadd(name)
vim.cmd.packadd("flit.nvim")
- vim.cmd.packadd("leap-spooky-nvim")
+ -- vim.cmd.packadd("leap-spooky-nvim")
+ vim.cmd.packadd("telepath-nvim")
end,
after = function(_)
require("leap").create_default_mappings()
require("flit").setup()
- require("leap-spooky").setup()
+ -- require("leap-spooky").setup()
+ require("telepath").use_default_mappings()
end,
},
}