-
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
[layouts] Emacs 27 over-rides workspace keybindings gt and gT #13677
Comments
Following is found in (when (featurep 'tab-bar)
(define-key evil-normal-state-map "gt" 'tab-bar-switch-to-next-tab)
(define-key evil-normal-state-map "gT" 'tab-bar-switch-to-prev-tab)) Since only emacs 27 has the tab-bar feature, above code is relevant only on emacs 27. (define-key evil-motion-state-map "gt" 'eyebrowse-next-window-config)
(define-key evil-motion-state-map "gT" 'eyebrowse-prev-window-config) |
Oops. I did not see the fix until now. The fix mentioned above changed spacemacs key bindings to avoid the clash. Sorry. |
There's also an issue with the It means that, switching between workspaces stops when one of them shows a magit buffer. |
@emacs18 I closed the PR to change the keys to My current workaround is to define user keybindings for workspaces in the
What are the options for resolving the workspace keybinding conflicts? On a side note: I also noticed that |
There is no fix for this issue as the initial proposal for alternate keybindings was correctly rejected (my suggestion wasnt that good). Ideally I would like to disable the tab-bar feature in Emacs then the workspace keybindings will not be over-ridden by a feature I find far less useful. |
I was able to work around this for myself by putting the following in
This removed the binding that shadowed the Spacemacs binding. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
I still consider this an issue as it impacts my daily workflow |
Being able quickly switch workspaces is essential to use layouts-workspaces workflow correctly. Without @travisbhartwell hack I quickly kept regressing to using layouts only. Is there any obstacle in implementing that user config as a layout initialisation option? Alternatively, @practicalli-john why did you say that your suggestion "wasn't that good"? |
Description
From Emacs 27.1 onward tab bar functionality is built in and it seems that Evil normal key bindings are over-riding the existing keybindings for
eyebrowse-next-window-config
andeyebrowse-previous-window-config
Reproduction guide 🪲
SPC l w 2
to create a second workspaceSPC f f
to open a new file in this workspace (so you can tell easily see workspaces switching)g t
in Evil normal state should cycle between the layoutsObserved behaviour: 👀 💔
g t
in Evil normal state does not do anything (unless Emacs tabs were enabled)Expected behaviour: ❤️ 😄
g t
in Evil normal state cycles forward through the workspaces,g T
cycles in reverse through the workspaces.System Info 💻
Backtrace 🐾
The text was updated successfully, but these errors were encountered: