crux icon indicating copy to clipboard operation
crux copied to clipboard

A Collection of Ridiculously Useful eXtensions for Emacs

Results 29 crux issues
Sort by recently updated
recently updated
newest added

Fixes `sudo` not found error on systems where `doas` is the default replacement for `sudo`, namely on OpenBSD and Alpine Linux. ----------------- - [x] The commits are consistent with our...

In my case I recently started using `dirvish`, which is an enhanced dired-mode, and I was surprised that `crux-open-with` didn't work, but I fixed it by using `derived-mode-p`. Then, I...

## Expected behavior Given a region containing the following lines, ```elisp (message "the crux of the matter") (message "hello from the magic tavern") ``` `crux-duplicate-current-line-or-region` yields: ```elisp (message "the crux...

In `crux-rename-file-and-buffer`, ensure `vc-rename-file` gets only the local file paths -- i.e., that TRAMP prefixes (like `/ssh:[email protected]:`) are stripped away. I've seen the Mercurial VC backend error out while `crux-rename-file-and-buffer`...

Currently if you rename a new buffer that hasn't been saved yet, `crux-rename-file-and-buffer` will only rename the buffer but not reset the visited file name, so saving after renaming will...

https://www.emacswiki.org/emacs/mark-lines.el I don't know how you use what command to complete the same edit operation, please point out if you think this is not so necessary. Following is my usage,...

Debugger entered--Lisp error: (error "The mark is not set now, so there is no region") region-beginning() byte-code("\10\203\11\0ed\10E\207\301 \302 \303E\207" [current-prefix-arg region-beginning region-end nil] 3) call-interactively(untabify) (if (member major-mode crux-untabify-sensitive-modes) nil...

As done in [move-dup](https://github.com/wyuenho/move-dup/blob/master/move-dup.el#L146-L162) package. Thank you.

crux-smart-open-line | S-RET or M-o | Insert an empty line and indent it properly (as in most IDEs). -- | -- | -- i thought smart-open-line will binding to `C-RET`...

As the title says, `crux-open-with` doesn't work. I have installed it via use-package. This is the debug message: > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > call-process("xdg-open" nil 0 nil...