From a4fc334ac22cba053e11239cdc786dbab1d94e9f Mon Sep 17 00:00:00 2001 From: Tomas Rivera <137088692+Totorile1@users.noreply.github.com> Date: Sun, 29 Mar 2026 11:10:28 +0200 Subject: [PATCH] added the plan and ideas to the README.md --- .envrc | 1 + README.md | 31 +++++++++++++++++++++++++++++++ shell.nix | 7 +++++++ 3 files changed, 39 insertions(+) create mode 100644 .envrc create mode 100644 README.md create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/README.md b/README.md new file mode 100644 index 0000000..236f60a --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +### The idea + +config file in json + +requierements neovim, nvim-tree, vivify, vivify.vim + +1. launches a TUI +- asks if you want to open an already existing directory (by default in ~/Documents/Notes but can be changed in the config file) or create a new directory +(this would work like Obsidian's vaults) +when it creates a new directory creates a Welcome.md explaining + +2. launches nvim inside this dir with nvim +:NvimTreeOpen + way to open the Welcome.md (or by default first file?) +3. launches the viewer with vivify +some way to specify the browser + + + +things to do: +1. port vivify.vim to nixos + + + + +a option to make a file a journal. --> the code will append the file with ### and the date. and when nvim opens the file it will go to the end + +a way inside the json to modifiy the welcome.md +per vault config inside the json file +a tui configurator that writes to the json +an option or save in another part for backups (like periodically just put the directory you want to save in config) + +later to port it to Nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..f9a4a4a --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = [ + pkgs.vivify + ]; +}