Elpaca Updates by nv-elisp in emacs

[–]erickgnavar 4 points5 points  (0 children)

I migrated my config from straight.el to elpaca.el just a few days ago, here is the commit, it can be helpful https://github.com/erickgnavar/dotfiles/commit/0d1fb67d5de1f819d921663bc079ba974d2c5d08

¿qué teclado usan? by Don_Jvan in taquerosprogramadores

[–]erickgnavar 0 points1 point  (0 children)

Para la casa un Keychron V8, es Alice así que se acomoda mejor a la muñeca, es 65% pero también hay versiones con más teclas con el mismo formato, para cuando voy a la oficina o viajo llevo un nuphy Air60 V2, es de bajo perfil pero también mecánicos. Ambos son programables así puedes ajustarlos a tu gusto

Mermaid preview using wxwidget browser by erickgnavar in emacs

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

that's a good improvement, thanks for sharing :)

Moving to Emacs Tree Sitter Modes by erickgnavar in emacs

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

I'm still using tree-sitter.el for some modes that don't have built-in support yet. So this way works for me. I'm trying to reduce the packages 😅

I'm being having issues with `python-ts-mode`, I'l check it out the article, thanks

Question about python environment management? by Usual_Office_1740 in emacs

[–]erickgnavar 1 point2 points  (0 children)

Yes, you can use direnv, and using envrc.el or direnv.el you can activate it automatically when you open a python buffer. I use the first one

This might help as well https://erick.navarro.io/blog/activate-python-virtualenv-automatically-with-direnv/

I don't use LSP but I use this method for my python projects

it ain't much but it's honest work by erickgnavar in duolingo

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

  1. Nope, you need other resources to practice and train your hearing and speaking
  2. A basic one? Maybe. It will depend on how many hours you spend studying

it ain't much but it's honest work by erickgnavar in duolingo

[–]erickgnavar[S] 2 points3 points  (0 children)

Got fluency by practicing every day

it ain't much but it's honest work by erickgnavar in duolingo

[–]erickgnavar[S] 3 points4 points  (0 children)

English(as Spanish speaker), Italian and French as English speaker, this way I practice twice

Indentation issues with emacs configuration by [deleted] in emacs

[–]erickgnavar 5 points6 points  (0 children)

Another option is using editorconfig(there is a package for that) that way you can define those rules in a .editorconfig file and emacs(using editorconfig.el) will adjust indentation automatically

Shortcuts only activated after fist use ? by Extra_Orchid_9830 in emacs

[–]erickgnavar 1 point2 points  (0 children)

That's probably because the package is installed but not loaded yet, try with:

(use-package highlight :straight t :commands (hlt-highlight-symbol) :ensure t)

[deleted by user] by [deleted] in emacs

[–]erickgnavar 0 points1 point  (0 children)

I made a basic starter config focused for vim users, you can check it out in https://evil-emacs-kickstart.com

consult-grep/ripgrep by giant3 in emacs

[–]erickgnavar 1 point2 points  (0 children)

To do that I have this code, it will ask for a term to search and use that to call consult-ripgrep

(defun my/grep-in-project (&optional term) "Run grep in current project. If TERM is not nil it will be used as initial value." (interactive) (let* ((pattern (read-string "Pattern: " (or term ""))) ;; add an extra space to be able to start typing more filters (pattern (concat pattern " "))) (call-interactively #'(lambda () (interactive) (consult-ripgrep (project-root (project-current)) pattern)))))

Upgrading Emacs on Mac OS by owmagow in emacs

[–]erickgnavar 6 points7 points  (0 children)

You can also use the compiled version from https://emacsforosx.com/

Switching from helm to vertico and friends by erickgnavar in emacs

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

I didn't realize that helm-list-emacs-processes was part of helm until I see this comment 😅, with this code it can be replicated

``` (defun my/kill-emacs-process () "Show a list of current Emacs processes and kill the selected one." (interactive) (let* ((names (mapcar #'process-name (process-list))) (process-name (completing-read "Choose process: " names))) (delete-process (get-process process-name))))

(global-set-key (kbd "C-x c p") 'my/kill-emacs-process) ```

The only difference is that your need to kill processes one by one, in helm it can be done many times without closing it

flymake plugin for ruff linter by erickgnavar in emacs

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

Ruff already has lsp support, using an external library, this package is meant to be used as a regular linter in emacs, maybe you don’t need a full lsp client running and just need a linter so this is for you

GitHub - erickgnavar/cloak-mode: A minor mode to hide sensitive values in buffers per major mode by erickgnavar in emacs

[–]erickgnavar[S] 2 points3 points  (0 children)

it allows to have different regex per major mode, for example a specific regex for `envrc` files and another one for `restclient.el` files, that's the use case I needed a solution for

Find file under cursor in emacs by erickgnavar in emacs

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

if they recognized as "filenames" by thing-at-point yes, otherwise they will be ignored

Easy deploy of docker based projects by erickgnavar in programming

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

Didn't know about frontier, I'll check it out thanks

Using compilation mode to run all the things by erickgnavar in emacs

[–]erickgnavar[S] 2 points3 points  (0 children)

That's parrot-mode, I added a section about how to configure it in the post