4 ms·
Thanks for these tips! I'll explore tabspaces, apheleia, async-shell-command (and the Go lib) — all of those are new to me. > Can you give a specific example o
by modernerd 4y ago
Thanks for these tips! I'll explore tabspaces, apheleia, async-shell-command (and the Go lib) — all of those are new to me.
> Can you give a specific example of something you had trouble with?
I hoped to recreate multiple long-running terminal sessions in splits and tabs, similar to functionality I now use from:
Neovim (plugin): https://github.com/akinsho/toggleterm.nvim https://github.com/akinsho/toggleterm.nvim
VS Code (built-in): https://code.visualstudio.com/docs/terminal/basics#_managing-terminals https://code.visualstudio.com/docs/terminal/basics#_managing...
I just found “popper”, which didn't exist the last time I looked. It seems like a pretty close substitute:
https://github.com/karthink/popper https://github.com/karthink/popper
- ParetoOptimal 4y ago> I hoped to recreate multiple long-running terminal sessions in splits and tabs, similar to functionality I now use from: > Neovim (plugin): https://github.com/akinsho/toggleterm.nvim https://github.com/akinsho/toggleterm.nvim > VS Code (built-in): https://code.visualstudio.com/docs/terminal/basics#_managing https://code.visualstudio.com/docs/terminal/basics#_managing... The example in that vscode link can be replicated in emacs by: 1. having a single buffer open 2. C-x 2 (split-window-below) 3. C-x o (other-buffer) 4. C-x 3 (split-window-right) 5. C-x 3 (split-window-right) 6. C-x + (balance windows) If that seems unwieldy you can also make a macro to automate such a thing or anything your imagination can come up with. Then any function you make (such as saving that macro to a name) can be bound to a keybinding of your choice. If that's interesting to you, also see "Keyboard Macros are Misunderstood": https://www.masteringemacs.org/article/keyboard-macros-are-misunderstood https://www.masteringemacs.org/article/keyboard-macros-are-m... In fact, if you really want to understand Emacs in addition to replicating your current vscode workflow or even to augment your current workflows you should check out his book that was recently updated for Emacs 28: https://www.masteringemacs.org/book#free-sample https://www.masteringemacs.org/book#free-sample He typically updates the book pretty quickly, so you'll get any future updates he may make. I still highly recommend the current version after having ready 5 or 6 chapters recently and feeling like I leveled up my own understanding.
- modernerd 4y agoThank you for this — keyboard macros look great, and I'll explore the book to fill in some gaps.