switch to last selected window#252
Open
sczi wants to merge 1 commit into
Open
Conversation
|
(With my current usecase using ace-window as my primary window-changing tool). I agree that this would be a cool modification. Sometimes a window is created and moved to without ace-window but you'd still like to use the same command to return to the previous window without worrying about how the window was created in the first place. Is there a reason why the action of flip-window should be kept to solely operate on previously-visited-by ace-window windows? |
|
To be fair, this functionality can be achieved just through modifying aw-dispatch-alist. e.g. (setq aw-dispatch-alist
(?n previous-window-any-frame)
(?p next-window-any-frame)
)So changing it isn't strictly necessary and the current configuration keeps the functionality wholly contained inside it's own module, which is a nice design for something as modular as emacs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Discussed in #125
Basically
aw-flip-windowwould select the window previously selected by ace window. Several users (me included) want the ability to select the previously visited window, whether it was selected by ace window or not. My reading of that conversation was that it should replace the behavior ofaw-flip-window. If it should leaveaw-flip-windowthe same, and just add a separateaw-previous-windowfunction let me know and I'll change the pr