hpdeifel / hledger-iadd

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

Use account-appropriate commodity symbol, rather than default commodity symbol #66

Open the-solipsist opened 2 years ago

the-solipsist commented 2 years ago

I use ISIN as commodity symbols for the securities (shares / mutual funds, etc.) that I hold. It's a pain to copy-paste the commodity symbol, and then add quote marks since they contain mixed alphanumeric characters. It would be far better if hledger-iadd used the commodity symbol that was last used with a particular sub-account / is most frequently used / whichever heuristic you normally use for amounts, etc.

This way, I could just focus on typing amounts, rather than finding a symbol, copy-pasting it, and then typing the amount.

hpdeifel commented 2 years ago

nb: Related to the workflow from #65