Comments (5)
Try running (evil-normalize-keymaps)
right after binding SPC
.
from evil-guide.
If you mean adding (evil-normallize-keymaps)
right after evil-define-key
, I have tried, but it doesn't work.
from evil-guide.
Run it in the message buffer manually and see if that fixes it. If it does you can do that in your init with something like with-current-buffer
.
from evil-guide.
Great! That fixes the problem.
Out of curiosity, can you tell me why only the startup message buffer have this issue? It's so strange that a minor mode has been activated but it's keymap doesn't. I want to understand this.
BTW, do you recommend using evil-escape to escape everything? Another question, I started using evil-collection yesterday, do you think using the evil-collection-setup-minibuffer feature will be a better choice than using hydra in minibuffer?( personally I use ivy with hydra-ivy, I'm wondering whether using evil-collection for minibuffer can give me more consistency.
from evil-guide.
It's probably because the message buffer exists even before evil loads. Evil's keymaps aren't really comparable to normal minor mode keymaps.
Edit: To better clarify, the message buffer existing so early may have something to do with it, but this is an issue in general. it's not just a matter of evil-mode being active. Evil's auxiliary maps are actually made in the regular minor and major mode keymaps; they just have no meaning normally and are handled specially by evil.
I don't recommend using evil-escape at all unless you don't have a good key available for escape. I'm guessing that evil-escape has the same issues as key-chord (i.e. that it will accidentally trigger if there is input lag/slow down and that you can only use it in Emacs). I think it's much better to use a dedicated thumbkey (or capslock). For example, I have right alt bound to my altgr layer when held and to escape when immediately released.
Since most evil keybindings aren't usable in the minibuffer, I think that hydra-ivy
is fine/preferable. You can try both out and see which you like better. I don't use a modal minibuffer that often and generally prefer using modifiers in the minibuffers personally.
from evil-guide.
Related Issues (12)
- Please add license information to allow reuse HOT 1
- (evil-make-overriding-map dired-mode-map 'normal) is void HOT 1
- Make current line number scale with "text-scale-adjust"? HOT 2
- [question] Is there any good replacement for evil-magit? HOT 1
- Escape in emacs-state -- outdated info; suggested binding doesn't work in terminal HOT 3
- Just set evil-want-integration to nil doesn't prevent it set keybindings in dired mode. HOT 2
- Leader key part of evil since (at least) 1.14.0, Mar 04, 2020 HOT 1
- There definitely is leader functionality in evil HOT 4
- How to make ESC key send isearch-abort instead of isearch-cancel while searching? HOT 2
- evil repeat for hydra? HOT 7
- evil-want-Y-yank-to-eol is not equivalent to y$ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evil-guide.