Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I just published this package, you can give it a try https://github.com/frostyx/current-window-only Or just copy some of its code to your config.
To find out what a key does, you can use the describe-key command, then press, for example, C-c C-o. I would highly recommend installing the helpful package, to get the even more useful helpful-key command. Then decide how you would like to modify or rebind the command that's bound there, because keybindings are generally not bound globally. In your case, I might rebind C-c C-o to one of the ffap commands. Further, emacs generally decides how a buffer is displayed based on it's filename or major mode. You can customize this through the display-buffer-alist: https://www.gnu.org/software/emacs/manual/html_node/elisp/The-Zen-of-Buffer-Display.html
Related posts
- current-window-only: Open things only in the current window. No other windows, no splits.
- Preventing other windows from having their buffer changed when an org-roam capture buffer pops up
- Making emacs always use the same window
- current-window-only: Open things only in the current window. No other windows, no splits.
- Emacs display-buffer replacement?