Skip to content

Conversation

baumea
Copy link

@baumea baumea commented May 19, 2025

This PR is based on PR #10, but is logically independent.

  • Adds the command :DelThread in the thread view. This command adds
    the tag "del" to the emails. This command also works in visual mode,
    so multiple threads can be deleted simultaneously.
  • Binds :DelThread to dd in normal mode and d in visual mode.
  • Update the hint text to display dd key.
  • Binds D to the function call purge_del(). With this, emails marked
    to be deleted are removed from the drive. After hitting D, the user
    sees all emails marked to be delete. Puring is then initiated by
    hitting DD (see line 8 in lua/notmuch/delete.lua)

baumea added 2 commits May 19, 2025 21:24
Extended autocompletion:
- `search_terms_list` now also contains `is:`, `to:`, `from`, `body:`
  and the logical expressions `and`, `or`, `not`.
- Added autocomplete functionality for `mimetype:`, `to:`, `from:`,
  `path:`, and `folder:` search.
- Extended `:ComposeMail` to optionally accept recipient, incl. autocomplete

Key binding and visual control
- Extended `:TagAdd`, `:TagRm`, and `:TagToggle` to accept line ranges
- Extended key bindings `+`, `-`, `=`, `a`, `A`, and `x` in the threads
  view to the visual mode
- Added `f` key binding (visual mode and normal mode) in the threads
  view to toggle the `flagged` tag
- Adds the command `:DelThread` in the thread view. This command adds
  the tag "del" to the emails. This command also works in visual mode,
  so multiple threads can be deleted simultaneously.
- Binds `:DelThread` to `dd` in normal mode and `d` in visual mode.
- Update the hint text to display `dd` key.
- Binds `D` to the function call `purge_del()`. With this, emails marked
  to be deleted are removed from the drive. After hitting `D`, the user
  sees all emails marked to be delete. Puring is then initiated by
  hitting `DD` (see line 8 in `lua/notmuch/delete.lua`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant