Skip to content

Commit 3f97fc8

Browse files
committed
refactor: rename project and update URLs
1 parent 98607a8 commit 3f97fc8

File tree

6 files changed

+36
-14
lines changed

6 files changed

+36
-14
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) [year] [fullname]
3+
Copyright (c) 2025 Carlos Vigil-Vásquez and collaborators
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# simple-denote.nvim
1+
# denote.nvim
22

3-
This Neovim plugin provides a command `:Denote note` that prompts for a title and keywords (tags), then creates a new file in a flat notes directory using the [Emacs Denote package's file-naming scheme](https://protesilaos.com/emacs/denote#h:4e9c7512-84dc-4dfb-9fa9-e15d51178e5d):
3+
This Neovim plugin provides a command `:Denote note` that prompts for a title and keywords
4+
(tags), then creates a new file in a flat notes directory using the [Emacs Denote package's
5+
file-naming scheme](https://protesilaos.com/emacs/denote#h:4e9c7512-84dc-4dfb-9fa9-e15d51178e5d):
46

57
`DATE==SIGNATURE--TITLE__KEYWORDS.EXTENSION`
68

@@ -14,17 +16,21 @@ For example:
1416
20240601T213392==1a1--i-have-a-signature__denote.csv
1517
```
1618

17-
That's all this does: create and consistently rename text files using the above scheme. No frontmatter, links, etc. I have overcomplicated my notes too many times with fancy Org Mode and Zettelkasten systems and this is my minimalist endgame.
19+
That's all this does: create and consistently rename text files using the above scheme. No
20+
frontmatter, links, etc. I have overcomplicated my notes too many times with fancy Org Mode and
21+
Zettelkasten systems and this is my minimalist endgame.
1822

19-
The file-naming should be 1:1 with denote.el, down to minor things like triming/combining excess whitespace, removing special characters, disallowing multi-word keywords, and separating signature terms with = (e.g. `==three=word=sig`).
23+
The file-naming should be 1:1 with denote.el, down to minor things like triming/combining excess
24+
whitespace, removing special characters, disallowing multi-word keywords, and separating
25+
signature terms with = (e.g. `==three=word=sig`).
2026

2127
# Installation / Config
2228

2329
Example config via [lazy.nvim](https://github.com/folke/lazy.nvim)
2430

2531
```lua
2632
{
27-
"https://codeberg.org/historia/simple-denote.nvim",
33+
"cvigilv/denote.nvim",
2834
opts = {
2935
ext = "md", -- Note file extension (e.g. md, org, norg, txt)
3036
dir = "~/notes", -- Notes directory (should already exist)
@@ -53,15 +59,15 @@ vim.keymap.set({'n','v'}, '<leader>ne', ":Denote extension<cr>", { desc = "Chang
5359
To install without a plugin manager:
5460

5561
```bash
56-
mkdir -p ~/.local/share/nvim/site/pack/simple-denote.nvim/start
57-
cd ~/.local/share/nvim/site/pack/simple-denote.nvim/start
58-
git clone https://codeberg.org/historia/simple-denote.nvim
62+
mkdir -p ~/.local/share/nvim/site/pack/denote.nvim/start
63+
cd ~/.local/share/nvim/site/pack/denote.nvim/start
64+
git clone https://github.com/cvigilv/denote.nvim.git
5965
```
6066

6167
Add the following to `~/.config/nvim/init.lua`
6268

6369
```lua
64-
require('simple-denote').setup({
70+
require("denote").setup({
6571
ext = "md",
6672
dir = "~/notes",
6773
add_heading = true,
@@ -91,9 +97,25 @@ require('simple-denote').setup({
9197
:Denote extension
9298
```
9399

100+
# Road map
101+
102+
## v1.0
103+
- [ ] Add front-matter generator
104+
- [ ] Handle autorenaming of files on save
105+
- [ ] Handle front-matter updating on save
106+
107+
## v2.0
108+
- [ ] Add extensions
109+
- [ ] Custom highlighting in oil.nvim
110+
- [ ] Search capabilities with telescope.nvim
111+
- [ ] Note creation via orgmode capture
112+
94113
# Credits
95114

96-
* [HumanEntity/denote.nvim](https://github.com/HumanEntity/denote.nvim) - This project was based on denote.nvim and modified to suit my personal preference or closer adhere to the original Denote spec.
115+
* [historia/simple-denote.nivm](https://codeberg.org/historia/simple-denote.nvim) - This is a
116+
fork from this project, which includes integration to other common plugins I use to manage my
117+
PKM (oil.nvim, telescope.nvim, nvim-orgmode, etc.)
118+
* [HumanEntity/denote.nvim](https://github.com/HumanEntity/denote.nvim)
97119
* [denote.el](https://protesilaos.com/emacs/denote) - The original Emacs package
98120

99121
# License
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
local M = {}
22

3-
local config = require("simple-denote.config")
4-
local api = require("simple-denote.api")
3+
local config = require("denote.config")
4+
local api = require("denote.api")
55

66
function M.load_cmd(options)
77
vim.api.nvim_create_user_command("Denote", function(opts)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local M = {}
22

3-
local internal = require("simple-denote.internal")
3+
local internal = require("denote.internal")
44

55
---@param options table
66
---@param title string|nil

0 commit comments

Comments
 (0)