From f8f979a5812efdff43d2552174cf957e5d5e72f8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 30 Apr 2025 03:52:38 -0400 Subject: [PATCH] tweak(beancount): bind sort commands to s And move old +beancount/occur to S. --- modules/lang/beancount/config.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/lang/beancount/config.el b/modules/lang/beancount/config.el index 536589741..f2bd360f1 100644 --- a/modules/lang/beancount/config.el +++ b/modules/lang/beancount/config.el @@ -35,7 +35,7 @@ :localleader "b" #'+beancount/balance "c" #'beancount-check - "s" #'+beancount/occur + "S" #'+beancount/occur "l" #'beancount-linked "q" #'beancount-query "x" #'beancount-context @@ -44,4 +44,7 @@ "C" #'+beancount/clone-this-transaction "a" #'beancount-insert-account "p" #'beancount-insert-prices - "d" #'beancount-insert-date))) + "d" #'beancount-insert-date) + (:prefix ("s" . "sort") + "r" #'+beancount/sort-region + "b" #'+beancount/sort-buffer)))