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

Update +workspce/switch-left[right] in workspaces.el #8225

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

Kyuvi
Copy link
Contributor

@Kyuvi Kyuvi commented Jan 5, 2025

feat: Switches workspace left and right more than one at a time.
scope: For doomemacs/doomemacs

Added optional number to switch the workspace left or right by a count

Added optional number to +workspace/switch-left(and right) to be able
to jump more than one workspace at a time because
+workspace:switch-next(and previous) jumps directly to the numbered
workspace not the next 'nth' workspace from current one. I find this
more intuitive (for vim/evil though) and easier to add here where
it (hopefully) won't mess with anybodies config rather than breaking
`+workspace:switch-next' (and previous).

FILENAME: /modules/ui/workspaces/autoload/workspace.el


  • I searched the issue tracker and this hasn't been PRed before.
  • My changes are not on the do-not-PR list for this project.
  • My commits conform to Doom's git conventions.
  • Any relevant issues or PRs have been linked to.

Added optional number to switch the workspace left or right by a count
@hlissner hlissner added is:feature Adds or requests new features, or extends existing ones module:ui/workspaces Pertains to Doom's :ui workspaces module labels Jan 6, 2025
@hlissner hlissner added this to the modules v25.01 milestone Jan 6, 2025
@hlissner hlissner merged commit 8f57069 into doomemacs:master Jan 9, 2025
@hlissner
Copy link
Member

hlissner commented Jan 9, 2025

LGTM. Thanks for your help!

@Kyuvi
Copy link
Contributor Author

Kyuvi commented Jan 10, 2025

@hlissner Glad I could help, Thanks for Doom Emacs! :)

@Kyuvi Kyuvi deleted the Kyuvi-workspace-switch-patch-1 branch January 10, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:feature Adds or requests new features, or extends existing ones module:ui/workspaces Pertains to Doom's :ui workspaces module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants