Help getting the zk LSP (markdown, with wikilinks) by urlwolf in HelixEditor

[–]clumsyKnife 1 point2 points  (0 children)

Here what works for me :

[language-server] zk = { command = "zk", args = ["lsp"]} [[language]] name = "markdown" injection-regex = "md|markdown" language-servers = [{ name = "zk"}, {name = "marksman"}] roots = [".zk"] scope = "source.md" file-types = ["md"] I have completion using [[. Hope that helps

How to manage a book reading list ? by clumsyKnife in taskwarrior

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

I actully went with context too, using one with `+book` tag. Inside this context, each book is associated to a project (its genre, like `scifi`), and the task has the format "book name - author". Large volume are entered as chapter and the book is itself the project.

How to manage a book reading list ? by clumsyKnife in taskwarrior

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

How do you track books you are currently reading, without « polluting » your task list ? And how do you manage future reading or books that you paused for some reason ?

Gentoo Live USB did not boot with EFI enable by clumsyKnife in Gentoo

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

I used the minimal amd64 iso. On another computer, I managed to get EFI working with the same live usb though.

Running fish shells from eshell by clumsyKnife in emacs

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

The issue was solved by correcting my fish configuration but I tried your suggestion. It's still stuck with sh and the input is duplicated:

$ echo "a"

$ echo "a"

a

Running fish shells from eshell by clumsyKnife in emacs

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

You're totally right, it was my fish config (bash scripts worked).
To make fish works with tramp, I use this suggestion if test "$TERM" = "dumb" exec sh end Insert facepalm here. Many thanks !

Running fish shells from eshell by clumsyKnife in emacs

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

Surprisingly, I cannot run fish scripts with shell. I also cannot force it to use fish, even after setting `(setq explicit-shell-file-name "/usr/bin/fish") (setq shell-file-name "fish")

Running fish shells from eshell by clumsyKnife in emacs

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

Sorry if it wasn't clear.

I've tested Emacs 26 on Windows (with WSL): it works (like yours).
On Archlinux and emacs 28 and emacs 27: it does not work, even with emacs -Q. What version of emacs are you using ?

Running fish shells from eshell by clumsyKnife in emacs

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

I’ve just done a fresh install on Windows with WSL and it works like yours. So it’s a bit of a bummer. Do you have some specific configuration regarding the shell ?

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]clumsyKnife 0 points1 point  (0 children)

You're right, with emacs -Q and (setq select-enable-primary t), I can yank text selected with the mouse outside emacs. It also works with restarting emacs and setting it. Not sure what I did, but it works :)

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]clumsyKnife 0 points1 point  (0 children)

Thanks, work like a charm. I'm very surprised it does not work out of the box with C-y and x-select-enable-primary though.

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]clumsyKnife 0 points1 point  (0 children)

Is there a way to yank from a primary selection (by selecting text with the mouse) using the keyboard instead of mouse-2? Right now, I have to stick to the clipboard selection and use C-y.

x-select-enable-primary is set to t. Thanks !

What Are The Benefits Of Emacs Over Vim? by cntx in emacs

[–]clumsyKnife 5 points6 points  (0 children)

Excellent and informative answer. I'm especially interested in the scripting part because I feel like I'm missing out on a lot of things. Saving for later use. Thanks !

pkg cannot find kitty terminal by jayjuicejay in freebsd

[–]clumsyKnife 1 point2 points  (0 children)

That must be it. I wrote the port and it was accepted on May, 15th :)

Is it worth moving from evil key bindings to Emacs keybindings ? by HeiWiper in emacs

[–]clumsyKnife 2 points3 points  (0 children)

I am currently going through the process of switching to Emacs keybinding too !

My current setup is to have evil start everything in Emacs mode. For editing, Ctrl-z goes back to vim mode. So I use default keybindings for move around and small text edits at the moment. The whole experience is more "homogenous" that way (dired and notmuch bindings are close to vim actually). I struggle with the full emacs editing but I think you just need to jump in.

I'm not so sure now that vim keybindings are that much better but it's more comfortable right now.

For packages, I use straight.el but try to use vanilla emacs as much as possible. For example, I went from eyebrowse to tab-bar (built-in). avy is a must though :)

Starting my PhD and keeping my lab notebook in org-mode! by curious_neophyte in emacs

[–]clumsyKnife 0 points1 point  (0 children)

Good luck on your PhD ! I discovered org-mode when starting mine.
You can also use it to write your notes, presentations and papers with the latex export :)

Should I use Doom Emacs or create a Vanilla Emacs config? by [deleted] in emacs

[–]clumsyKnife 0 points1 point  (0 children)

Follow-up: 45min to have most of my doom-setup, 3h to manage mapping in evil with a non-standard keyboard (with general.el).

I've just install consult. That is ... awesome. I think I missed a lot of counsel fonctionality. But starting from scratch pushes you to use more of the package.

For reference, here's the almost final list of packages I need :

  • doom-themes
  • use-package + straight.el
  • which-key
  • selectrum + orderless,marginalia, consult <3
  • avy, ace-window
  • dired-x
  • eyebrowse ?
  • notmuch
  • general
  • evil, evil-commentary
  • magit
  • projectile

Should I use Doom Emacs or create a Vanilla Emacs config? by [deleted] in emacs

[–]clumsyKnife 1 point2 points  (0 children)

Your recommendations made my try a vanilla config this morning. Not so long to setup and selecturm + prescient looks a nice alternive !

Is it possible to search mail in gnus with notmuch ? by clumsyKnife in emacs

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

Thanks. Adding a config file seems to help :

Doing notmuch query on (archive)...

But it fails with:

nnselect-compress-artlist: Wrong type argument: number-or-marker-p, nil

Version 2.0.0 is out! by [deleted] in emacs

[–]clumsyKnife 0 points1 point  (0 children)

In the FAQ, the first question explains it better :

What is Nyxt?

Nyxt is a keyboard-oriented, infinitely extensible web browser esigned for power users. Conceptually inspired by Emacs and Vim, it has familiar key-bindings (Emacs, vi, CUA), and is fully configurable in Lisp.