1
0
mirror of https://github.com/jojojames/evil-collection.git synced 2024-06-30 08:00:54 +02:00
Commit Graph

1359 Commits

Author SHA1 Message Date
Frédéric Giquel
acb056b1d0 magit: Separate mode for magit-repos 2024-06-08 22:49:24 +08:00
condy
7452430077 ci: Exclude macos tests below 28.x
See https://github.com/purcell/setup-emacs/issues/48
2024-06-05 22:51:33 +08:00
condy
cde1e7b6e4 magit: Fix help menu evil bindings 2024-06-05 22:43:59 +08:00
condy
a64a0a9487 elisp-refs, emms, pdf, xwidget: Use kill-current-buffer
kill-this-buffer says

> This command can be reliably invoked only from the menu bar,
> otherwise it could decide to silently do nothing.
2024-06-05 22:28:55 +08:00
Magnus Therning
acc38ea2d9
csv-mode: Initial support (#814)
Add collection for csv-mode
2024-06-04 22:47:22 +08:00
Vonfry
12fd87b631 Update mpdired keybinding to the new funtions 2024-06-04 01:21:10 +08:00
Konstantin Nazarov
b34369cdb5 Add .nosearch to modes/ to not litter subdirs.el
If you install evil-collection to site-lisp/, it's getting picked by
Emacs and added to `subdirs.el` in order to populate the `load-path`
at startup. To quote the official documentation:

> For each directory in load-path, Emacs then checks to see if it contains
> a file subdirs.el, and if so, loads it. The subdirs.el file is created when
> Emacs is built/installed, and contains code that causes Emacs to add any
> subdirectories of those directories to load-path. Both immediate subdirectories
> and subdirectories multiple levels down are added. But it excludes subdirectories
> whose names do not start with a letter or digit, and subdirectories named RCS
> or CVS, and subdirectories containing a file named .nosearch.

There are legitimate reasons why one may add evil-collection to
site-lisp/: Linux distributions packaging it as native distro packages
may lead to this for example.

In my case, I'm using Nix and "Emacs Overlay", which is more or less a
standard way to manage Emacs and its configuration under Nix. I've
noticed that my Emacs starts slower than needed (0.6 seconds with
configuration under Nix, and 0.2 seconds with configuration not managed
by Nix). I've pin-pointed the issue to an explosion of `load-path`,
which is one of the biggest performance hogs on Emacs startup.

It seems that:

- Many other packages add `.nosearch` to their subdirs to prevent
  automatic addition to load-path
- There is no risk in introducing this to evil-collection, as it loads
  modules by absolute paths from the basedir of the main file.

I've patched evil-collection and on my system it keeps working, while
achieving a nice load speedup (almost 0.4 seconds). Please consider
merging this.
2024-05-22 21:20:41 -04:00
Tianshu Wang
5209902500 Replace specific functions with mu4e-user-agent properties 2024-05-22 19:23:21 -04:00
James Cherti
5886bab852 Add support for Eat (Terminal Emulator) 2024-04-18 00:47:28 +08:00
condy
30b82e41da kmacro: initial support 2024-04-18 00:37:20 +08:00
StrawberryTea
c9e2f72212 mu4e: fix broken tab navigation in mu4e-view-mode
Before mu4e-1.7.0, using SHR to render HTML emails in mu4e-view-mode was
an option. This was removed in mu4e-1.7.0, and mu4e-view-mode now uses
Gnus to render HTML emails. This change broke Evil Collection's tab
navigation in mu4e-view-mode.
2024-04-18 00:37:02 +08:00
JenChieh
ef8c35d332 avoid compile evil magit 2024-04-11 10:24:04 +08:00
JenChieh
792f170d29 Ignore header check 2024-04-11 10:24:04 +08:00
JenChieh
540c271bcd Just install, don't package 2024-04-11 10:24:04 +08:00
JenChieh
013e744dab include all modes files 2024-04-11 10:24:04 +08:00
JenChieh
c64b058fbe ci: Use Eask to test macos and windows 2024-04-11 10:24:04 +08:00
StrawberryTea
ca977acb83 corfu: allow corfu to be used when evil is disabled 2024-04-06 22:27:00 +08:00
Aaron Jensen
e0982fcbb6 Corfu: preselect variable is corrected 2024-04-03 02:44:59 +08:00
Aaron Jensen
101913529e Corfu: evil-repeat support 2024-04-03 02:44:59 +08:00
Aaron Jensen
58008954df pass: define-function is corrected 2024-04-03 00:14:09 +08:00
kiennq
198578a255
corfu: show corfu popup when in insertable state (#800)
* fix: show corfu popup when in insertable state
2024-04-03 00:12:57 +08:00
James Nguyen
89aea40633 Elpaca: Update (#774) 2024-03-20 20:13:44 -04:00
45mg
f1bb4733de pdf: disable visual-mode
Evil's visual-mode does not know how to select text within a PDF, and
instead selects the entire pdf image, which is useless and
counterintuitive - see doomemacs/doomemacs#6286,
emacs-evil/evil-collection#683.
2024-03-20 02:15:19 +08:00
45mg
556ca31ce6 pdf: implement evil yank to registers
Evil users expect to be able to yank to named registers, but pdf-view
only gives us `pdf-view-kill-ring-save'. So we implement our own version
of evil-yank for pdf-view buffers.
2024-03-20 00:48:59 +08:00
Vonfry
5dad3d25bd Add mpdired 2024-03-19 20:28:01 +08:00
StrawberryTea
99fd054f80 mu4e: update the version check for mu4e-compose-goto-*
These bindings were recently re-added to mu4e in 1.12.2 so we don't need
to define them ourselves anymore for that version and later.
2024-03-19 00:05:40 +08:00
Frédéric Giquel
cf7c7f142a magit-todos: unbind "k" in *-section-map 2024-03-15 13:39:53 +08:00
StrawberryTea
323ae97eae mu4e: bind mu4e-compose-wide-reply 2024-03-14 23:53:59 +08:00
StrawberryTea
8da60e37b9 mu4e: fix extra quotes in evil-collection-mu4e 2024-03-13 22:41:31 +08:00
StrawberryTea
c2f48c9a26 mu4e: add thread-mode commands
This commit adds a few commands to the mu4e-thread-mode-map. The purpose
is to bind these commads to the normal state map so that they don't get
overridden by motion state commands.
2024-03-12 10:29:02 +08:00
StrawberryTea
fe96b412f4 mu4e: re-add removed mu4e-compose-begin/end-commands
The commands `mu4e-compose-begin` and `mu4e-compose-end` were removed in
commit
85bfe76336
of version 1.12.0 of mu.  This commit re-adds these commands to the evil
collection for mu4e.
2024-03-08 02:07:00 +08:00
condy
d0518fc162 Add Emacs 29.2 in CI 2024-03-06 00:35:50 +08:00
StrawberryTea
2e2be761f7 corfu: bind up/down in insert state
Corfu already binds up/down in emacs state, but not in insert state.
Normally this is not a problem, but when using corfu in comint-mode like
with chatgpt-shell, up/down moves in the history instead of moving in
the corfu completions.
2024-03-06 00:32:57 +08:00
condy
311e3b9ecb cider: forward declare cider-use-xref 2024-03-06 00:31:42 +08:00
Cássio Ávila
5bb5ada5e5 CIDER: Only use cider-find-var when cider-use-xref is nil
Closes: #776
2024-03-06 00:13:26 +08:00
asymmetric
0da72667ce evil-collection-elpaca-setup: update -> merge
[This upstream commit](039ae35a57) has renamed the `-update` commands to `-merge`.
2024-03-06 00:12:28 +08:00
Miguel
54e1eb02d9 vterm: Visual consistency for append
evil-collection-vterm-append doesn't work, and evil-collection-vterm-append-line
doesn't correctly display where the cursor is located. This fixes both
issues.
2024-02-24 00:27:34 +08:00
Ghosty
16d2cecda7 Fix corfu-scroll-up/-down being inverted
Corfu uses the emacs definition of scroll-up (moving the text down) which is
inverted to what vim uses.
2024-02-24 00:25:58 +08:00
Steven Allen
29212d123f vterm: implement replace
Implements evil's "replace" operator ("r") for vterm.
2024-02-05 09:44:07 +08:00
hokomo
8c84f9bc89 mu4e: Remove superfluous quotes 2024-01-18 03:56:33 -05:00
Felix Dick
27d32610d5 Add bindings for new vundo diff operations. 2024-01-05 00:22:24 +08:00
Gongqi Huang
4cbc40bc1e Fix typo 2024-01-05 00:21:26 +08:00
Abdelhak Bougouffa
2eb68ac588 Fix corfu--teardown signature (backward compatible)
A new commit in `corfu` changes the signature of `corfu--teardown`, this PR fixes that.

## Ref
https://github.com/emacs-evil/evil-collection/pull/767#issuecomment-1875366132
2024-01-03 12:20:31 -05:00
Abdelhak Bougouffa
cf1a11912d Fix the new corfu--setup signature (backward compatible) 2023-12-25 15:45:32 -05:00
Vonfry
c30158a0df fix bufler RET keybind 2023-12-19 23:01:39 +08:00
Samuel Tschiedel
d58233be7d refactor(cider): match cider-debug.el command order
Since it's already not intentionally ordered (e.g alphabetical),
matching upstream's order helps when eyeballing additions.
2023-12-17 12:09:55 -05:00
Samuel Tschiedel
80a73abc6c feat(cider): add force-out, inspect-prompt, trace
Matches cider's existing keybindings on `cider--debug-mode-map`
2023-12-17 12:09:55 -05:00
condy
ddf0deb2c4 magit, forge: Enable lexical-binding 2023-12-16 17:54:30 +08:00
Vonfry
fed36a3ee3 bufler: init 2023-12-16 17:52:23 +08:00
Liam Hupfer
18304d9d9e mu4e: add mu4e-headers-toggle-property
mu4e-headers-toggle-property replaced the following three toggle
commands (which are now aliases for the new command) in v1.9.5. It
provides its own menu with a key binding for each property, so bind it
to a one-key binding.

The obsolete command bindings are not removed because mu4e is typically
installed with mu via the system package manager and is therefore harder
to upgrade than a typical Emacs package. mu4e-headers-toggle-property
was also renamed to mu4e-search-toggle-property in 1.9.11, but the old
name (which remains as an alias) is preferred for the same reason.
2023-10-19 20:28:28 +08:00