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 + ]; +}