evil-collection icon indicating copy to clipboard operation
evil-collection copied to clipboard

Add more consult mark list generation options

Open feluxe opened this issue 7 months ago • 1 comments
trafficstars

This adds arguments show-local and show-global to evil-collection-consult--evil-mark-ring allowing you to create these consult lists:

  • M-x evil-collection-consult-mark-global: List uppercase marks for all open buffers.
  • M-x evil-collection-consult-mark-buffer-local: List lowercase marks for current buffer. (current implementation)
  • M-x evil-collection-consult-mark-buffer-global: List uppercase marks for current buffer.
  • M-x M-x evil-collection-consult-mark-buffer: List lowercase and uppercase marks for current buffer.
  • M-x evil-collection-consult-mark-all: List lowercase marks for current buffer and uppercase marks for all buffers.

Sorting behavior:

  • Marks are grouped by file and sorted by line for each buffer which is included in the list.
  • Marks of the current buffer are shown before global marks of the other buffers.

Format:

  • List items for local markers do not include file names. Except when only global markers are shown.

Brief summary of what the package does

[Please write a quick summary of the package.]

Direct link to the package repository

https://github.com/your/awesome_package

Checklist

Assume you're working on mpc mode:

  • [ ] byte-compiles cleanly
  • [ ] M-x checkdoc is happy. Don't manually write (provide 'evil-collection-mpc), M-x checkdoc can do it automatically for you
  • [ ] define evil-collection-mpc-setup with defun
  • [ ] define evil-collection-mpc-mode-maps with defconst
  • [ ] All functions should start with evil-collection-mpc-

feluxe avatar Apr 01 '25 12:04 feluxe