Beancount - Getting started - Episode 2
In this Video I will explain how to get started with Beancount, which is a plaintext accounting tool
for tracking your personal finances.
Neovim plugins mentioned in the video:
* https://github.com/nathangrigg/vim-beancount
* https://github.com/jose-elias-alvarez/null-ls.nvim
* https://github.com/AlxHnr/null-ls-bean-check.nvim
* https://github.com/SirVer/ultisnips
Beancount main file header:
```
plugin "beancount.plugins.check_commodity"
plugin "beancount.plugins.coherent_cost"
plugin "beancount.plugins.nounused"
2024-02-05 commodity EUR
option "operating_currency" "EUR"
option "booking_method" "FIFO"
```
Example snippet (Ultisnips):
```
snippet salary "Expands to a salary payment" b
`date '+%Y-%m-'`${1:01} * "John Doe Software Company"
Assets:Checking 2,500.00 EUR
Income:Salary
endsnippet
```
Neovim lua code for auto-committing the changes in your beancount repository.
```
local augroup = vim.api.nvim_create_augroup('beancount-augroup', {})
vim.api.nvim_create_autocmd('VimLeave', {
pattern = '*', group = augroup,
callback = function()
vim.api.nvim_command('!cd ~/YOUR/BEANCOUNT/DIRECTORY/HERE/ && git commit -am "Autosave"')
end
})
-- Jump to the bottom of beancount files when opening.
vim.api.nvim_create_autocmd('BufWinEnter', {
pattern = { '*.beancount' }, group = augroup,
callback = function() vim.api.nvim_input('Gzz') end
})
```
=== Support this channel ===
* Help the algorithm by subscribing, liking and commenting
* Donate trough Patreon: https://patreon.com/WealthAllocator
* Donate Bitcoin: bc1qh8emwj2y7gq7ecarvkyf4uclt9grhfzg384yje
* Donate Ethereum: 0xEFad3B0A4cF9e75dF46EE86564358bE4324e0E5b
-
1:33:51
Abigail Joy
10 hours agoHow To Fight Back, What Will Jolt Bitcoin Next?, El Salvador Has Got It On Lock, DARK MAGA ELON
66.8K6 -
7:20:58
Akademiks
18 hours agoKendrick Lamar Submits Not Like Us & Euphoria for Grammys. Drake Calls out Fake Friends.PRE HITLIST?
196K52 -
LIVE
Right Side Broadcasting Network
3 days agoLIVE REPLAY: President Trump Holds a Rally in Juneau, WI - 10/6/24
2,877 watching -
1:59:02
The Quartering
17 hours agoDonald Trump LIVE In Wisconsin! Kamala Harris Losing Ground & Panics!
165K33 -
2:23:03
WeAreChange
18 hours agoWhite House SNUBS Hurricane Victims! Sends $157 MILLION To Lebanon
116K137 -
5:06:14
Drew Hernandez
1 day agoTRUMP RALLY WI & KAMALA SENDS $160 MILL TO LEBANON
105K76 -
1:26:33
Sports Wars
20 hours agoAlabama UPSET By Vanderbilt, MLB Playoff Shockers, Davante Adams WANTS OUT Of Vegas | NFL Week 5
113K8 -
1:40:37
The Breanna Morello Show
1 day ago $4.80 earnedLIVE STREAM: Hurricane Helene Update on Sunday at 10am ET
108K95 -
7:00:33
Vigilant News Network
1 day agoBone-Chilling Flood Disaster Details Emerge | The Daily Dose
158K205 -
17:51
Tundra Tactical
1 day ago $3.49 earnedKamala Harris is the MOST ANTI-GUN VP EVER!!!
114K55