From 2b065376b0f43010ebd64f49552ab96377504079 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Sat, 13 Jun 2026 00:26:25 +0200 Subject: refactor(nvim): rename files and move code around --- .config/nvim/plugin/50-follow.lua | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .config/nvim/plugin/50-follow.lua (limited to '.config/nvim/plugin/50-follow.lua') 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 `` because `'` is a valid URI character -vim.opt.isfname:append("'") - -vim.keymap.set({ "n", "x" }, "gg", function() - follow.follow("edit") -end, { desc = "Edit URL/file in current window" }) -vim.keymap.set({ "n", "x" }, "gs", function() - follow.follow("split") -end, { desc = "Edit URL/file in split window" }) -vim.keymap.set({ "n", "x" }, "gv", function() - follow.follow("vsplit") -end, { desc = "Edit URL/file in vertically split window" }) -- cgit v1.3.1