-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C-w C-w with Agenda List #13197
Comments
Confirmed, the A fix is to bind: (kbd "C-w") 'evil-window-map in the :config
(evilified-state-evilify-map org-agenda-mode-map section. But this would only fix it in the agenda buffer, I suspect that the same issue is occurring in most/all evilified buffers. So it would probably better to have a more "global" solution. However I'll open a PR that fixes it in this case. If someone comes up with a general solution then it can be used instead. |
I have experienced this.
@duianto Here 👇 Lines 149 to 152 in 3496f0c
Patch with this 👇? (define-key evil-evilified-state-map (kbd "C-w") 'evil-window-map) |
That seems to be the right solution 👍 |
@duianto Sure, I'll make a PR. |
Fix #13197 Motivation: #13197 (comment)
Thanks nixmaniack. @Matelasse This has now been fixed on the Spacemacs Your system info shows that your on the
If you want to get this fix and a lot of other changes now: Backup your current setup and make sure that there isn't a
|
I went to sleep and woke up to a delivered fix. You guys are insane, thanks so much. |
I made sure to install the develop branch, which includes the commit that should've fixed this, but I'm still experiencing the same. Did anyone check if the fix worked for them? |
Yes, I did verify. @duianto do you see any issue?
|
Yes, I tested it before applying it to the
And evaluating (at the I think I found the cause, Because the |
Nice finding. I'm not sure what is the right fix for this. In absence of full In case a person needs full-fledged org (with org-agenda etc.) with |
I notice that when I first click C-w before chording it to another C-w, the following message gets displayed in the status bar: |
I confirm that after installing adding org layer in my configuration this is no longer an issue. What do we want to do here? |
The reason you got the message:
when you press This seems to work to evilify the org agenda buffer, even when the (defun spacemacs/evilify-org-agenda-buffer ()
(when (memq dotspacemacs-editing-style '(hybrid vim))
(evil-evilified-state)))
(add-hook 'org-agenda-finalize-hook 'spacemacs/evilify-org-agenda-buffer) It only evilifies the org agenda buffer when either the But I'm not sure where it could be added. While testing I tried these two org agenda hooks: Then I found the |
@duianto The question remains whether such org-agenda specific evil customization be brought into Also, I have a doubt if the solution would behave nicely with |
Another option might the
https://github.com/syl20bnr/spacemacs/tree/develop/layers/+spacemacs/spacemacs-evil Your might be right that there could be issues with this solution if the editing style is switched with It would be ideal to have as many of the evil bindings as possible work everywhere when the But if someone is calling So maybe the advice should be to use the |
My issue was resolved by installing the org layer, so I will close this issue. Thanks for the discussion, everyone. |
Description![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
C-w C-w doesnt work when you have Agenda List open
Reproduction guide 🪲
Start spacemacs and open some orgfile, also open agenda-list in a split window (M-x org-agenda-list). Now you want to move between the windows using C-w C-w, but it doesnt work. Emacs C-x o does work though.
Observed behaviour: 👀 💔
C-w C-w doesnt move between windows. C-x o does.
Expected behaviour: ❤️ 😄
C-w C-w should move between windows, like C-x.
System Info 💻
The text was updated successfully, but these errors were encountered: