AmmarAbouZor / tui-journal

Your journal app if you live in a terminal
https://crates.io/crates/tui-journal
MIT License
324 stars 10 forks source link

No config.toml file or tui-journal directory when installing through nixpkgs #420

Closed Arqamz closed 4 weeks ago

Arqamz commented 1 month ago

Im on nixos and i installed tui-journal as such in my configuration.nix file

  environment.systemPackages = [
    pkgs.tui-journal
  ]

However I can't find the config file OR the tui-journal directory anywhere on my system.

AmmarAbouZor commented 1 month ago

Configuration file wouldn't be automatically generated but this is achievable with CLI arguments directly:

tjournal -w  

This will write the current configurations to the standard config directory (normally $HOME/.config on linux) within the directory 'tui-journal', and then it will start the app.

Besides that, you have the command

tjournal print-config

which will print the current configurations to the standard output, which allow users to check the current path for their data files.

Note: I didn't bundle the app to nixpkgs and the maintainer for it haven't contacted me, but I'm happy that this app is already available for the great nix package manager

Arqamz commented 1 month ago

Wow that was really quick and helpful! Great app, I will definitely be using it alott. Just a tiny note, not everyone knows 'Emacs binds', so you could maybe list those bindings in the editor keybinds page?

AmmarAbouZor commented 1 month ago

Glad that it help :relaxed:

I think I can extend the help pop-up for the editor and add some basic emacs key bindings :+1:

Arqamz commented 1 month ago

Thank you!

AmmarAbouZor commented 1 month ago

Let's keep this issue open as reminder for adding emacs keybindings