Premium Only Content
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
-
2:26:35
Father Russell
4 hours agoThrone and Liberty | Morning Stream
27.6K1 -
5:59:12
ColdHe4rted
8 hours agoOverwatch = new tank! Lets go!
21.5K -
5:19:50
SLS - Street League Skateboarding
8 days ago2024 SLS Tokyo: Women’s and Men’s Knockout Rounds
552K29 -
2:51:00
Fresh and Fit
12 hours agoWomen Claim To Give Better Dating Advice So We Did THIS...
176K93 -
5:16:50
CHiLi XDD
13 hours ago[F EM UP Friday] Take # 2 [Destiny 2] Lets Kick Some A$$! #RumbleTakeOver
92.2K6 -
5:13:43
ItsMossy
19 hours agoHALO WITH THE RUMBLERS (: #RUMBLETAKEOVER
70.5K2 -
1:54:08
INFILTRATION85
12 hours agoHi, I'm INFILTRATION
57.4K9 -
7:51:03
GuardianRUBY
14 hours agoRumble Takeover! The Rumblings are strong
113K5 -
4:28:45
Etheraeon
21 hours agoWorld of Warcraft: Classic | Fresh Level 1 Druid | 500 Follower Goal
76.5K3 -
3:17:21
VapinGamers
14 hours ago $4.13 earned🎮🔥Scrollin’ and Trollin’: ESO Adventures Unleashed!
53.3K2