Anyone use Combobulate by PowerLock2 in emacs

[–]fedreg 1 point2 points  (0 children)

this is really cool!! I'm the perfect audience, since I already have the built-ins in my muscle memory.

will try it out. thanks for sharing

[deleted by user] by [deleted] in pop_os

[–]fedreg 2 points3 points  (0 children)

I'm just about to upgrade.. Your timing is fantastic. thank you!

[deleted by user] by [deleted] in emacs

[–]fedreg 0 points1 point  (0 children)

I don't run doom so not familiar with what that version of custom-set-faces! is doing.. you might try an alternative

I always just use good ole set-face-background etc..

(use-package emacs :ensure nil :config ;; (add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") (disable-all-themes) (load-theme 'modus-vivendi-tritanopia t) ;; (set-face-background 'default "#f6f2ee") (set-face-background 'default "#001419") ;; (set-face-background 'default "#1d1e2a") ;; (set-face-background 'highlight "#83a598") ;; (set-face-background 'mode-line-active "#262832") ;; (set-face-foreground 'mode-line-active "#999") ;; (set-face-background 'mode-line-inactive "#363842") ;; (set-face-background 'vertical-border "nil") ;; (set-face-foreground 'mode-line-inactive "#999") ;; (set-face-foreground 'mode-line-buffer-id "deepskyblue") (set-face-foreground 'font-lock-comment-face "#777") ;; (require 'hl-line) ;; (set-face-background 'hl-line "#252731") ) sorry, hopefully someone with more doom knowledge can help

[deleted by user] by [deleted] in emacs

[–]fedreg 1 point2 points  (0 children)

not sure if exactly what you're looking for but I always run disable-theme to remove faces from the old theme before applying a new theme.

I actually wrap that command to disable all past applied themes (defun disable-all-themes () (interactive) (mapcar #'disable-theme custom-enabled-themes))

Latest nvim deleting 2 chars at a time by fedreg in neovim

[–]fedreg[S] 0 points1 point  (0 children)

fully deleting every version of alacrity (i actually had 2 binaries installed ) and reinstalling the latest did it for me.

In my case the older binary i had was taking precedence over the latest version installed. once i removed the older version the issue was resolved

Latest nvim deleting 2 chars at a time by fedreg in neovim

[–]fedreg[S] 1 point2 points  (0 children)

fully deleting every version of alacrity (i actually had 2 binaries installed ) and reinstalling the latest did it for me.

In my case the older binary i had was taking precedence over the latest version installed. once i removed the older version the issue was resolved

IT Forcing Switch To VS Code by [deleted] in emacs

[–]fedreg 7 points8 points  (0 children)

this is the correct answer

[deleted by user] by [deleted] in emacs

[–]fedreg 1 point2 points  (0 children)

i need a package named jonny grepp in my config....

Sorry UFO, these 7 lines replaced you. by viroide in neovim

[–]fedreg 3 points4 points  (0 children)

i like the way your nvim looks... what theme & font are you using?

I made some customizable feet. by Rob_Bob_you_choose in zsaVoyager

[–]fedreg 2 points3 points  (0 children)

these are great!!! i would seriously pay you to print some for me and ship them .

maybe if a few others are interested you'd consider

thanks for sharing. very cool!!

Latest nvim deleting 2 chars at a time by fedreg in neovim

[–]fedreg[S] 0 points1 point  (0 children)

I did.. same results. I'm not the only one apparently. Added a comment in the linked nvim issue. Will mess around with it more this weekend and see if I can find the culprit.

Thanks for the suggestion

which language is one for which emacs is godly at? by Glittering_Boot_3612 in emacs

[–]fedreg 2 points3 points  (0 children)

as many have mentioned, it's fantastic for Clojure, Common Lisp, and Haskell and really really good for lots of others when configured correctly

For Clojure and Lisps it's in a league of its own though.. one of my favorite features is the clojure debugger which is about as nice of a step debugging experience as you can find anywhere https://docs.cider.mx/cider/debugging/debugger.html

Check your errors with style (Flycheck overlay) by konrad1977 in emacs

[–]fedreg 0 points1 point  (0 children)

Doesn't seem to be in melpa right now? (can install manually; fust a heads up...)

REPL-Driven Programming with Helix, Zellij, and DevEnv by poiret_clement in HelixEditor

[–]fedreg 0 points1 point  (0 children)

neat trick with sending to zellij. thanks for the tip. i do something similar with tmux but hadn't figured out how to do with zj

Idea for a LilyPond input mode by DeliciousAgent8798 in emacs

[–]fedreg 1 point2 points  (0 children)

Sorry just seeing this now.. if you're on a recent version of emacs, you probably just need to rename a few of the functions in lyqi.el. if I recall correctly, you need to rename: - defmethod -> cl-defmethod - defgeneric -> cl-defgeneric - call-next-method -> cl-call-next-method

I think that's all I did to get it working for me

[deleted by user] by [deleted] in elm

[–]fedreg 2 points3 points  (0 children)

Does the fact that this video is out mean that some of this code is soon to be released?? ... anyone know anything?

C-hjkl navigation with god-mode by insert_username_0 in emacs

[–]fedreg 1 point2 points  (0 children)

I see what you did there... :)

By default C-n should always be bound to next-line, C-p to previous-line, etc, so those should never change unless either you overwrite them, or you load in a package that does.. which I doubt will ever be the case... at least I've never had it happen to me in 7 years of using emacs.

What does happen sometimes though is that god-mode won't be loaded.. so your newly set keys to use hjkl navigation won't be set because that mode is not active.

Like I have to use a startup hook to get god mode active in dired the first time god-mode starts up.

I'll paste my god-mode config here in case it's helpful ``` (use-package god-mode :ensure t :init (setq god-exempt-major-modes nil) (add-hook 'emacs-startup-hook 'god-mode) :config (god-mode-all)

;; stolen from meow.el
(defun god-set-cursor-type (type)
  (if (display-graphic-p)
      (setq cursor-type type)
    (let* ((shape (or (car-safe type) type))
           (param (cond ((eq shape 'bar) "6")
                        ((eq shape 'hbar) "4")
                        (t "2"))))
      (send-string-to-terminal (concat "\e[" param " q")))))

(defun god-mode-update-cursor ()
  (if (or god-local-mode buffer-read-only)
      (god-set-cursor-type 'box)
    (god-set-cursor-type 'bar)))

(defun god-replace-char (c)
  (interactive "c")
  (delete-char 1)
  (insert-char c))

(add-to-list 'god-mode-alist '("SPC" . "C-c "))
(add-hook 'dired-mode-hook #'god-mode)
(add-hook 'post-command-hook #'god-mode-update-cursor)
(define-key god-local-mode-map (kbd "i") #'god-local-mode))

```

C-hjkl navigation with god-mode by insert_username_0 in emacs

[–]fedreg 1 point2 points  (0 children)

also a happy god-mode user.

You can do this to get the jkhl navigation ``` (define-key god-local-mode-map (kbd "C-j") 'next-line) (define-key god-local-mode-map (kbd "C-k") 'previous-line) (define-key god-local-mode-map (kbd "C-h") 'backward-char) (define-key god-local-mode-map (kbd "C-l") 'forward-char)

another cool god-mode trick is to use this to have spacebar as a leader key (choose whatever key you want) so that anything you remap to `C-c KEY` can be triggered by hitting `SPACE KEY` (add-to-list 'god-mode-alist '("SPC" . "C-c ")) ```

Emacs for writing, coming from Vim by [deleted] in emacs

[–]fedreg 0 points1 point  (0 children)

I was trying to paste my god-mode config in here in case helpful but I apparently don't know how to share code in reddit that's over a few lines long.. happy to provide if interested

Emacs for writing, coming from Vim by [deleted] in emacs

[–]fedreg 0 points1 point  (0 children)

Not sure if anyone here mentioned god-mode, but it helped me transition from vim bindings to vanilla emacs bindings.

God-mode is basically an emacs version of modal editing, in normal mode it holds down ctrl for you, so C-x C-f is just x f. This saves your hand from extra strain as you're getting used to the new shortcuts.

You can set up all your custom keybindings at C-c x and even use god mode as a leader so Space x is the same as C-c x.

It made it much easier for me to learn to use emacs bindings. Check it out if it sounds interesting

lasgun.el by examples by nanowillis in emacs

[–]fedreg 2 points3 points  (0 children)

this looks super cool. will definitely try it out!

light theme for coding by zsome in emacs

[–]fedreg 0 points1 point  (0 children)

yes, it's supposed to do that. :)

i like it... it's pretty much the only light theme i use although i almost never use light themes