all repos — nvim-custom-links @ main

Neovim simple plugin for custom local links

e0b566a8
Improve doc
Tim Izzo tim@octree.ch
Sat, 05 Apr 2025 22:06:51 +0200
9e46ec34
Setup first plugin version
Tim Izzo tim@octree.ch
Sat, 05 Apr 2025 21:58:07 +0200

NVIM Custom Links

Set words as links with custom path un Neovim.

LazyVim

return {
  {
    "https://git.5ika.ch/nvim-custom-links.git",
    config = function()
      vim.cmd([[
        let g:custom_links_project_base_path = '~/projects'
        let g:custom_links_area_base_path = '~/areas'
        let g:project_template_path = '~/templates/project.md'
        let g:area_template_path = '~/templates/area.md'
      ]])
    end,
  },
}

Use

In a file, hover a word starting by + (project) or @ (area) then <leader>fl to open the file.

If the file does not exist, it is created using the provided template file.

TODO

clone
git clone https://git.5ika.ch/nvim-custom-links.git