summaryrefslogtreecommitdiffstats
path: root/nvim-primeagen/after/plugin/ledger.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim-primeagen/after/plugin/ledger.lua')
-rw-r--r--nvim-primeagen/after/plugin/ledger.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvim-primeagen/after/plugin/ledger.lua b/nvim-primeagen/after/plugin/ledger.lua
new file mode 100644
index 0000000..6a47935
--- /dev/null
+++ b/nvim-primeagen/after/plugin/ledger.lua
@@ -0,0 +1,4 @@
+-- easily make a transaction starred with <leader>-
+vim.keymap.set("n", "<leader>-", "<cmd>call ledger#transaction_state_set(line('.'), '*')<CR>")
+
+vim.api.nvim_set_var("ledger_detailed_first", 0)