For navigation to other panes, you can use your mouse or use Emacs shortcut
C-x + oIn Emacs terminology, the Alt key is often referred to as M, and Ctrl is referred to as C. I have used C, and M to represent the same throughout the article.Emacs is great at handling multiple buffers in a single window. You can split your window into multiple panes (or “windows,” as Emacs calls them), just like with tmux, enabling you to work on different tasks simultaneously without feeling cluttered.
Simply, do Alt + x and then type eval-buffer.
- A nice auto-completion system
- Ability to edit any previous command at a point
- Quickly jump between different command sessions.
Emacs is an all-in-one solution. It can work as a terminal, text editor, file manager, email client, calculator, a text-based web browser. All these features are packed in a 150 MB zipped file. Pretty crazy, right? You won’t know all this until you give it a try!
Now here comes the magic. If you want to create two vertical layouts, simply use the keybinding C-x + 3. Then, if you want two horizontal layouts, use the shortcut C-x + 2.
💬Do you love having multiple terminal sessions as well? Let me know your thoughts in the comments!Enter Emacs 🤩Sure, we have the command prompt, or Windows terminal to use, but it is not enough for a similar experience.
Table of Contents
Terminal Multiplexing
But, wait, there is a solution on Windows 10 and Windows 11 that can work as a terminal multiplexer and a text editor – all in one!
If you want to open another shell, press C-u keys, and then Alt-x to open another shell.
Auto-completion and multi-window layouts
To edit your previous commands, move your cursor to the previous command or do a quick search, make the necessary adjustments, and hit enter. Within emacs, press Alt + X, and type shell and hit Enter to get the interactive user interface.(winner-mode 1)
winner-undo
To search for previous commands and outputs, hit C-s <your-term>. This is what I referred to when I mentioned consistent keybindings for all of your workflow. Within your Emacs environment, C-s will do a forward search everywhere unless you modify it.
📋
Whenever I get to work with a Windows-based system, I really miss the terminal emulator along with the ability to quickly switch between different terminal sessions. Not to mention, sometimes I need to gather 2-3 command sessions in a single view. There are many scenarios where I need to run multiple commands simultaneously. Bhuwan Mishra is a Fullstack developer, with Python and Go as his tools of choice. He takes pride in building and securing web applications, APIs, and CI/CD pipelines, as well as tuning servers for optimal performance. He also has passion for working with Kubernetes.
Keybindings Cheatsheet
(ido-mode 1)
Another quick tip. With just one line configuration, Emacs can provide useful completions based on your action with ido-mode.
Author Info
If you’re a developer or a power user, you probably understand the importance of having an efficient and organized workflow.