diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-13 00:26:25 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-13 00:39:24 +0200 |
| commit | 2b065376b0f43010ebd64f49552ab96377504079 (patch) | |
| tree | c1e56afc15055abcf558a7b995b40bd17af16543 /.config/nvim/plugin/50-follow.lua | |
| parent | 99f4b2f13f07085ff5b131e4de2704f4d8ede62b (diff) | |
| download | dotfiles-2b065376b0f43010ebd64f49552ab96377504079.tar.gz dotfiles-2b065376b0f43010ebd64f49552ab96377504079.zip | |
refactor(nvim): rename files and move code around
Diffstat (limited to '.config/nvim/plugin/50-follow.lua')
| -rw-r--r-- | .config/nvim/plugin/50-follow.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/.config/nvim/plugin/50-follow.lua b/.config/nvim/plugin/50-follow.lua deleted file mode 100644 index 1e48cd5..0000000 --- a/.config/nvim/plugin/50-follow.lua +++ /dev/null @@ -1,19 +0,0 @@ --- Following file names and URLs inside Neovim. The engine lives in --- `lua/dotfiles/follow.lua`; per-scheme behavior is registered by the feature --- that owns it — see 50-notes.lua (`notes://` and `[[wiki-links]]`) and --- 50-nvim-help.lua (`nvim-help://`). - -local follow = require("dotfiles.follow") - --- Add `'` to the list of characters included in `<cfile>` because `'` is a valid URI character -vim.opt.isfname:append("'") - -vim.keymap.set({ "n", "x" }, "<Leader>gg", function() - follow.follow("edit") -end, { desc = "Edit URL/file in current window" }) -vim.keymap.set({ "n", "x" }, "<Leader>gs", function() - follow.follow("split") -end, { desc = "Edit URL/file in split window" }) -vim.keymap.set({ "n", "x" }, "<Leader>gv", function() - follow.follow("vsplit") -end, { desc = "Edit URL/file in vertically split window" }) |
