Skip to content

Commit

Permalink
consult: Mark consult-org-agenda as evil jumps
Browse files Browse the repository at this point in the history
  • Loading branch information
condy0919 committed Aug 13, 2024
1 parent adc69d2 commit fd23305
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Eask
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(keywords "evil" "tools")

(package-file "evil-collection.el")
(files "modes/*/*.el" '(:exclude "modes/magit/*.el"))
(files "modes/*/*.el" '(:exclude "modes/magit/*.el" "modes/magit-repos/*.el"))

(script "test" "echo \"Error: no test specified\" && exit 1")

Expand Down
5 changes: 4 additions & 1 deletion modes/consult/evil-collection-consult.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; evil-collection-consult.el --- Evil bindings for consult -*- lexical-binding: t -*-

;; Copyright (C) 2017 James Nguyen
;; Copyright (C) 2017, 2024 James Nguyen

;; Author: James Nguyen <[email protected]>
;; Maintainer: James Nguyen <[email protected]>
Expand Down Expand Up @@ -30,8 +30,10 @@
;;
;; `consult-outline'
;; `consult-mark'
;; `consult-global-mark'
;; `consult-imenu'
;; `consult-org-heading'
;; `consult-org-agenda'
;; `consult-line'
;;
;; are all autoloaded, no (require 'consult nil t) is needed.
Expand All @@ -57,6 +59,7 @@
consult-global-mark
consult-imenu
consult-org-heading
consult-org-agenda
consult-line))
(evil-declare-not-repeat cmd)
(evil-set-command-property cmd :jump t)))
Expand Down

0 comments on commit fd23305

Please sign in to comment.