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
- [ ] Have dynamic variables in template files