editorconfig-emacs
crux
editorconfig-emacs | crux | |
---|---|---|
6 | 14 | |
726 | 867 | |
0.3% | - | |
5.8 | 5.9 | |
about 1 month ago | about 1 month ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | - |
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.
editorconfig-emacs
-
How Do I Make Emacs Have IDE-Like Indentation On The Fly?
I might be misunderstanding, but would something like EditorConfig help? I have found it does a really good job of configuring indentation behavior for projects that use EditorConfig.
-
Emacs 29 is nigh What can we expect?
For #2, I've been pretty happy with dtrt-indent (https://github.com/jscheid/dtrt-indent) for DWIM indentation bouncing between projects.
I have yet to try apheleia, but I wouldn't be surprised if just enabling apheleia, dtrt-indent, and editorconfig-mode (https://github.com/editorconfig/editorconfig-emacs) in prog-mode-hook just did what you wanted.
-
Eglot has landed on master: Emacs now has a built-in LSP client
> My only complaint is that I can never get Emacs's indentation to match what Prettier wants to do, so I'll type a bunch of code, prettier-on-save, and everything gets moved around.
I had this same issue, and it was annoying enough I continued to use https://github.com/editorconfig/editorconfig-emacs alongside prettier.
This does create another annoyance in having to configure editorconfig for new projects instead of relying on prettier alone.
-
How to Change Autoindent from 2 to 4
Please take a look at Editor Config. It makes handling indentation specifics easy, here a link to the Emacs package.
-
Is there a package or command out there that can add a newline at the end of the file if it doesn't exist?
I am using https://github.com/editorconfig/editorconfig-emacs
-
Editorconfig and tabs/spaces
According to the repo you should only need to enable (editorconfig-mode 1) in the init, but there's also a troubleshooting section that might help out for your specific situation. Hope that helps!
crux
-
Emacs 29 is nigh What can we expect?
For those still on 28, crux-rename-file-and-buffer does the same thing (https://github.com/bbatsov/crux). I've been using it for half a decade at this point. This sort of command, that no other code will rely on, was never that important to get into core, and there's some merit in making people create the commands they needed. It's not like with the additions to subr and subr-x libraries (string-replace, string-search etc), which can't come fast enough.
-
Change FILE of a buffer
Use vc-rename-file or crux-rename-file-and-buffer from crux
- Repository with code snippets and utility functions
-
Deleting files in Emacs [OC]
A similar functionality is in the crux package (see crux-delete-file-and-buffer).
-
What is the emacs equivalent of vim eunuch?
How about https://github.com/bbatsov/crux?
- Getting started with emacs is really hard
-
Effective and efficient text editing using Emacs (Alternative to Evil)
Some packages I use for more effective text editing is crux for general text editing (video on crux), paredit for lisp editing and for org-mode:
-
What is your favorite text-editing package / command?
I'll go with crux. It's not all about text editing, but it's got a lot of commands in dwim-fashion.
- Emacs Redux | Return to the Essence of Text Editing
-
Possible to learn emacs org mode in 15 - 30 hours?
I learned the syntax of org-mode in an hour (maybe less), It has many superiorities to markdown (see this excellent essay). Emacs is a fully-featured tool, it's a lifetime of learning, just like all extremely powerful tools, you can see the blogs of many emacs experts like Bozhidar, Protesilaos, Karl Voit (to name a few) learning new features of Emacs quite regularly.
What are some alternatives?
prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
emacs4cl - A tiny DIY kit to set up vanilla Emacs for Common Lisp programming
projectile - Project Interaction Library for Emacs
meow - Yet another modal editing on Emacs / 猫态编辑
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
emacs.d - Fast and robust Emacs setup.
doomemacs - An Emacs framework for the stubborn martian hacker
selectrum - 🔔 Better solution for incremental narrowing in Emacs.
neovim - Vim-fork focused on extensibility and usability
emacs.d - An Emacs configuration bundle with batteries included
prettier-rc-emacs - MELPA package to use local rc rules with prettier
xah-fly-keys - the most efficient keybinding for emacs