Skip to content
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

Moving to open popups #141

Closed
UndeadKernel opened this issue Jul 6, 2017 · 3 comments
Closed

Moving to open popups #141

UndeadKernel opened this issue Jul 6, 2017 · 3 comments

Comments

@UndeadKernel
Copy link
Member

I guess this is more a question than an issue.

How do you move the cursor to an open popup? Currently, when switching windows with C-x o (other-window), buffers defined as unreal (like popups) are not considered as candidates for switching.

For example, if I open the help buffer that describes de major and minor modes (C-h m [describe-mode]), how would you switch between the help popup and the main buffer window?

hlissner added a commit that referenced this issue Jul 6, 2017
Like other-window, but for doom popups. Also bound this to `C-x p` in
private module.
@hlissner
Copy link
Member

hlissner commented Jul 6, 2017

I've advised evil-window-{up,left,right,down} and windmove-{up,down,left,right} (not bound to anything by default, I believe) to address this, so that is the canonical way of traversing popup windows, but I realize that isn't helpful for non-evil users.

So I added a doom/other-popup command. You could bind this to C-x p with (global-set-key (kbd "C-x p") #'doom/other-popup) or (map! "C-x p" #'doom/other-popup)

This is currently in the develop branch, but will make its way onto master over the weekend.

@hlissner
Copy link
Member

This is now in master, so I'll consider this resolved.

hlissner added a commit that referenced this issue Sep 24, 2017
hlissner added a commit that referenced this issue Sep 25, 2017
Now, the +evil/window-move-* commands are consistent when used with
popups. Also added doom/popup-move-* as popup-alternatives to
evil-window-move-{very,far}-* commands.

Relevant to #141 #171
@chriselrod
Copy link

C-x p can jump to the popup, but then how do we jump back?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants