crux
selectrum
Our great sponsors
crux | selectrum | |
---|---|---|
14 | 33 | |
864 | 736 | |
- | 0.0% | |
5.9 | 0.0 | |
26 days ago | over 1 year ago | |
Emacs Lisp | Emacs Lisp | |
- | 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.
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.
selectrum
-
Common "ivy-read"
Selectrum's wiki has some basic info on completing-read: https://github.com/radian-software/selectrum/wiki/Tips-for-Creating-Commands
-
What packages do the cool kids use these days?
[1] https://github.com/radian-software/selectrum/issues/114
-
Selectrum now deprecated in favor of Vertico
I noticed over the weekend that the venerable Selectrum package made by Radon Rosborough has been deprecated in favor of Daniel Mendler's Vertico package.
- How to make TRAMP faster?
-
Sidekick is a Emacs package that provides information about a symbol inside a single window.
https://github.com/radian-software/selectrum is getting superceded by https://github.com/minad/vertico within just a year or two.
-
Straight.el: next-gen, purely functional package manager for the Emacs hacker
I have been using straight for a while now and I think it is great! The ability to lazy load everything by default does a lot to make Emacs snappier (or at the very least, faster to boot). Being able to pull packages directly from git (be it local or a forge) makes package development a lot easier. raxod has a lot of really sleek, modern emacs packages that I would encourage everyone to check out, spectrum[0] and ctrf[1] in particular are really great as well.
[0] https://github.com/radian-software/selectrum
-
Use Portage instead of package.el for managing Emacs packages
selectrum
-
Question: Error in post-command-hook
;;https://github.com/raxod502/selectrum (defun force-debug (func &rest args) (condition-case e (apply func args) ((debug error) (signal (car e) (cdr e))))) (advice-add #'selectrum--minibuffer-post-command-hook :around #'force-debug) (selectrum-mode +1) ;; to make sorting and filtering more intelligent (selectrum-prescient-mode +1) ;; to save your command history on disk, so the sorting gets more ;; intelligent over time (prescient-persist-mode +1) (setq completion-styles '(orderless)) ;; Persist history over Emacs restarts (savehist-mode) ;; Optional performance optimization ;; by highlighting only the visible candidates. (setq orderless-skip-highlighting (lambda () selectrum-is-active)) (setq selectrum-highlight-candidates-function #'orderless-highlight-matches) (setq selectrum-prescient-enable-filtering nil) (selectrum-prescient-mode +1) (prescient-persist-mode +1) (use-package marginalia :ensure t :config (marginalia-mode)) (use-package embark :ensure t :bind (("C-." . embark-act) ;; pick some comfortable binding ("C-;" . embark-dwim) ;; good alternative: M-. ("C-h B" . embark-bindings)) ;; alternative for \describe-bindings' :init ;; Optionally replace the key help with a completing-read interface (setq prefix-help-command #'embark-prefix-help-command) :config ;; Hide the mode line of the Embark live/completions buffers (add-to-list 'display-buffer-alist '("\`\Embark Collect \(Live\|Completions\)\" nil (window-parameters (mode-line-format . none))))) ;; Consult users will also want the embark-consult package. (use-package embark-consult :ensure t :after (embark consult) :demand t ; only necessary if you have the hook below ;; if you want to have consult previews as you move around an ;; auto-updating embark collect buffer :hook (embark-collect-mode . consult-preview-at-point-mode))`
- Keybinding autocompletion / helper. Like in doom emacs.
-
Requests for packages to add to NonGNU ELPA?
Selectrum and Prescient would be nice.
What are some alternatives?
emacs4cl - A tiny DIY kit to set up vanilla Emacs for Common Lisp programming
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
meow - Yet another modal editing on Emacs / 猫态编辑
helm - Emacs incremental completion and selection narrowing framework
emacs.d - Fast and robust Emacs setup.
consult - :mag: consult.el - Consulting completing-read
emacs.d - An Emacs configuration bundle with batteries included
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
xah-fly-keys - the most efficient keybinding for emacs
icomplete-vertical - Global Emacs minor mode to display icomplete candidates vertically
emacs.d
swiper - Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!