Intelligent notes with wikilink support and autocomplete. Heavily inspired by The Archive app.
- Create timestamped markdown notes with unique IDs
- Wikilink autocomplete with
nvim-cmpintegration - Navigate between notes using wikilinks (
[[Note Title]]) and markdown syntax links ([text](url)) - Automatic note creation
- Open URLs in default browser
Plug 'hisamafahri/archive.nvim'call dein#add('hisamafahri/archive.nvim')use 'hisamafahri/archive.nvim'{
'hisamafahri/archive.nvim',
config = function()
require('archive').setup({
workspace = '~/notes' -- Required: path to your notes directory
})
end
}require('archive').setup({
workspace = '~/notes' -- Required: path to your notes directory
})-- Setup archive.nvim
require('archive').setup({
workspace = '~/notes'
})
-- Add to your nvim-cmp sources
require('cmp').setup({
sources = {
{ name = 'archive_wikilink' },
-- your other sources...
}
}):Archive new- Create a new note with user input title:Archive go_to_link- Navigate to link under cursor
Add these to your Neovim configuration:
-- Create new note
vim.keymap.set('n', '<leader>an', ':Archive new<CR>', { desc = 'Create new note' })
-- Navigate to link under cursor
vim.keymap.set('n', '<leader>ag', ':Archive go_to_link<CR>', { desc = 'Go to link under cursor' })