Change: (org-ql-view-map) Also bind "g" to refresh
I keep hitting "g" and nothing seems to happen, because it runs the org-agenda refresh command, which doesn't do anything in org-ql-view buffers. This must be happening to other people too. So let's fix that.
This commit is contained in:
parent
8aac3b6100
commit
3349c1d07a
3 changed files with 31 additions and 30 deletions
|
|
@ -132,7 +132,7 @@ This command displays matches with Helm. *Note:* Helm is not a package dependen
|
|||
Choose and display a view stored in ~org-ql-views~.
|
||||
|
||||
*Bindings:* Keys bound in view buffer.
|
||||
+ =r=: Refresh results. With prefix, prompt to adjust search parameters.
|
||||
+ =g=, =r=: Refresh results. With prefix, prompt to adjust search parameters.
|
||||
+ =v=: Show =transient= view dispatcher (like Magit's popups).
|
||||
+ =C-x C-s=: Save query to variable ~org-ql-views~ (accessible with command ~org-ql-view~).
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ down a chain of function calls would be awkward.")
|
|||
(defvar org-ql-view-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(set-keymap-parent map org-agenda-mode-map)
|
||||
(define-key map "g" #'org-ql-view-refresh)
|
||||
(define-key map "r" #'org-ql-view-refresh)
|
||||
(define-key map "v" #'org-ql-view-dispatch)
|
||||
(define-key map (kbd "C-x C-s") #'org-ql-view-save)
|
||||
|
|
|
|||
58
org-ql.info
58
org-ql.info
|
|
@ -254,7 +254,7 @@ File: README.info, Node: org-ql-view, Next: org-ql-view-sidebar, Prev: helm-o
|
|||
Choose and display a view stored in ‘org-ql-views’.
|
||||
|
||||
*Bindings:* Keys bound in view buffer.
|
||||
• r: Refresh results. With prefix, prompt to adjust search
|
||||
• g, r: Refresh results. With prefix, prompt to adjust search
|
||||
parameters.
|
||||
• v: Show transient view dispatcher (like Magit’s popups).
|
||||
• C-x C-s: Save query to variable ‘org-ql-views’ (accessible with
|
||||
|
|
@ -1119,34 +1119,34 @@ Node: Commands3123
|
|||
Node: org-ql-search3596
|
||||
Node: helm-org-ql5310
|
||||
Node: org-ql-view5722
|
||||
Node: org-ql-view-sidebar6219
|
||||
Node: org-ql-view-recent-items6575
|
||||
Node: org-ql-sparse-tree7059
|
||||
Node: Queries7859
|
||||
Node: Non-sexp query syntax8767
|
||||
Node: General predicates10474
|
||||
Node: Ancestor/descendant predicates15689
|
||||
Node: Date/time predicates16817
|
||||
Node: Functions / Macros19472
|
||||
Node: Agenda-like views19705
|
||||
Node: Listing / acting-on results21110
|
||||
Node: Changelog25712
|
||||
Node: 05-pre26291
|
||||
Node: 04226655
|
||||
Node: 04126817
|
||||
Node: 0427056
|
||||
Node: 03230987
|
||||
Node: 03131364
|
||||
Node: 0331559
|
||||
Node: 02334532
|
||||
Node: 02234758
|
||||
Node: 02135024
|
||||
Node: 0235223
|
||||
Node: 0139258
|
||||
Node: Notes39359
|
||||
Node: Comparison with Org Agenda searches39521
|
||||
Node: org-sidebar40393
|
||||
Node: License40672
|
||||
Node: org-ql-view-sidebar6222
|
||||
Node: org-ql-view-recent-items6578
|
||||
Node: org-ql-sparse-tree7062
|
||||
Node: Queries7862
|
||||
Node: Non-sexp query syntax8770
|
||||
Node: General predicates10477
|
||||
Node: Ancestor/descendant predicates15692
|
||||
Node: Date/time predicates16820
|
||||
Node: Functions / Macros19475
|
||||
Node: Agenda-like views19708
|
||||
Node: Listing / acting-on results21113
|
||||
Node: Changelog25715
|
||||
Node: 05-pre26294
|
||||
Node: 04226658
|
||||
Node: 04126820
|
||||
Node: 0427059
|
||||
Node: 03230990
|
||||
Node: 03131367
|
||||
Node: 0331562
|
||||
Node: 02334535
|
||||
Node: 02234761
|
||||
Node: 02135027
|
||||
Node: 0235226
|
||||
Node: 0139261
|
||||
Node: Notes39362
|
||||
Node: Comparison with Org Agenda searches39524
|
||||
Node: org-sidebar40396
|
||||
Node: License40675
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue