perspective-el
apheleia

perspective-el | apheleia | |
---|---|---|
30 | 8 | |
918 | 597 | |
1.0% | 1.8% | |
4.2 | 7.1 | |
4 months ago | 8 days ago | |
Emacs Lisp | Emacs Lisp | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
perspective-el
-
Tmux sessions-like package for Emacs?
I opened a ticket https://github.com/nex3/perspective-el/issues/198 but can’t promise to get around to it soon.
-
How to simply manage buffers?
I have tried to get this behaviour for a while. The closest I have gotten is using perspective.el, but it ended up being a bit clunky when I tried it like 4 years ago and now I just used bookmark+ which can save/load desktop files as bookmarks.
-
Doom -> vanilla emacs 29
perspective for named workspaces.
-
How do you organize and switch between your work/personal Rust projects?
persp-mode?
-
perspective-tabs: perspectives as tabs in the tab-bar
To scratch a personal itch, I created a little package that integrates perspective-el into the built-in tab-bar.
-
Multi project management - perspective, persp-mode, tab-bar-mode, or...?
But I'm rethinking about my approach, as tab-bar-mode would give me nice visual help (#3), and it seems difficult to recover a perspective using perspective, and persp-mode may be a better fit in that sense (#4). The Treemacs integration isn't working for me either, and I get the same list of file trees for all perspectives -- I'm pretty sure I'm doing something stupid, but this was handled nicely with Doom Emacs's workspace support (#5). But perspective seems to work best for segregated buffer list (#1).
-
Grouping org headings
I think perspective.el is about what I’m looking for. If you had a list of org-ids, theses could be brought up in indirect buffers, and then those buffers added to the perspective group.
-
[Perspective.el package] Issues with persp-mode-prefix-key
As for why this broke: this change went into Perspective a few weeks after Emacs 28 shipped. You either updated your packages recently after not updating for a while, or you switched to Emacs 28 (or later). Full discussion surrounding this change: https://github.com/nex3/perspective-el/issues/180
-
My IDE is too heavy so I moved to Emacs
It sounds a bit like you want „perspective.el“ (1). It allows you to define „virtual workspaces“ of buffers with individual window layouts. On each virtual desktop the standard buffer list is replaced with a shorter showing only buffers belonging to the current context. I use it every day to keep „code“ buffers separate from my „test“ buffers.
(1) https://github.com/nex3/perspective-el
- Emacs 29 is nigh What can we expect?
apheleia
-
setup for python dev?
For black, I can recommend apheleia. It handles not only black but also all the other common formatters (not only for Python), with custom ones being relatively easy to add.
-
Emacs 29 is nigh What can we expect?
1.projectile-kill-buffers or the built-in project-kill-buffers will do that for the current project. You could run that before switching projects.
2. https://github.com/radian-software/apheleia
3. There might be a way to do this but I'm not sure. Emacs being inherently single threaded probably makes this difficult. But yes, I use M-x (re)compile.
4. libvterm is the best still imo. You can definitely do multiple instances and there's even different tab modes in Emacs now.
-
What is your fav IDE (incl AddOns)?
I forgot to mention a third option namely lassik/emacs-format-all-the-code and there are efforts to combine/consolidate the three into a single package which would be great.
-
Looking for emacs package recommendations for code-formatting in emacs?
raxid502/apheleia
-
Is there any package for automatically insert spaces in c++ code?
I use formatters in order to automatically format source code on save. Personally I use apheleia for this. It requires clang-tools installed as it uses clang formatter.
- We should format code on demand
-
JSX return indentation
Generally speaking, emacs does only so much for indenting those mixed mode files, so you might want to use a dedicated JS(X)-formatter (default one would be prettier). I can recommend integrating it using apheleia. It automatically prettifies buffers on save, but without having your cursor jump around like prettier-mode does. It also relies on having the prettier script available (from npm i -g prettier or its likes).
What are some alternatives?
persp-mode.el - named perspectives(set of buffers/window configs) for emacs
gumtree - An awesome code differencing tool
persp-projectile - Projectile integration for perspective.el
emacs-format-all-the-code - Auto-format source code in many languages with one command
bufler.el - A butler for your buffers. Group buffers into workspaces with programmable rules, and easily switch to and manipulate them.
reformatter.el - Define commands which run reformatters on the current Emacs buffer
ace-window - Quickly switch windows in Emacs
elpaca - An elisp package manager
projectile - Project Interaction Library for Emacs
prettier.el - Prettier code formatting for Emacs.
tabspaces
black - The uncompromising Python code formatter
