hpdeifel / hledger-iadd

A terminal UI as drop-in replacement for hledger add.
BSD 3-Clause "New" or "Revised" License
84 stars 8 forks source link

Different file for completions #73

Open csamak opened 1 year ago

csamak commented 1 year ago

Would it make sense to allow specifying two journal files - one for completions and one for writes?

This would be useful with multiple journal files. With one journal file per year (2022.journal, 2023.journal, etc), completions become fairly useless every January. Separate files in the config would allow completion suggestions from an all.journal (which includes all individual files) while still only writing to 2023.journal.

simonmichael commented 1 year ago

I don't relish complicating things, but yes I too have wanted something like this, also for hledger add, for editor modes like ledger-mode, and for history-aware CSV conversion/import.

hpdeifel commented 1 year ago

yep, I've also wanted this on occasion :+1: