eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

217
active users

#nvim

0 posts0 participants0 posts today

Have you ever heard of foreground and background jobs in a GNU/Linux or Unix context?

If not:
1. jump into your favorite shell
2. start e.g. vim with `vim foo.rs`
3. now press <CTRL> z
4. go to another directory and do an `ls` or so
5. and now run `fg`
(6. Works in an SSH session too)

Wow. It's crazy that I used this for the first time today after all these years of using Linux. You just never stop learning.

TIL there's an #nvim plugin called "none-ls" which is a fork of null-ls and is maintained by the community. After I got null-ls errors, after a recent nvim upgrade, I swapped null-ls for none-ls and the problem is gone. I assume they are more up2date with API changes 🤷🏽‍♂️

github.com/nvimtools/none-ls.n

GitHubGitHub - nvimtools/none-ls.nvim: null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua. - nvimtools/none-ls.nvim

I think I found an easter egg in neovim :neovim: just by chance, I typed ":smile" as a command and it gave me an ASCII art as the output. 🤩
Video below shows the output, I had to record the output because if I took only a screenshot more then half of the output would had been cut off. I know a screen cast is a bit too much just to show an ASCII art, but this is the only way that I can show the whole output. 😅

#nvim / #neovim #hilfe:

Ich baue gerade an meiner config.

es geht um die maus.

scheinbar kann ich:

* entweder das mittlere maustaste clipboard nutzen
* oder die maus für bewegungen innerhalb der datei nutzen

weiss eins hier, wie beides machbar ist?

One of the things that is trivial in #emacs that I never could figure out a way to do in #nvim: Keep an org-mode buffer and a pdf-tools buffer open next to each other. Reading the pdf, taking notes in org-mode. Scrolling the pdf buffer with M-Ctrl-V so that I don't even have to leave the notes. Sweet...

Here's another one: Unless I'm missing something big, multiple cursors in vscode are way more powerful than visual block mode in #vim / #nvim (because one can move the cursors and have gaps between lines).

OTOH, I've read that one does not need multiple cursors in vim because there are other, efficient ways to achieve certain goals.

So, should I bail out and install the multiple cursors plugin for nvim, or learn the vim way first?

I'm officially done with #nvim. #helix is my new editor.

Why? Rust analyzer broke and gives awful results and shitty completion in general. This is not RA's fault as every client I've tried (vscode and helix) worked flawlessly.

I'm tired of constantly chasing basic functionality that feels like it's done with glue paperclips.

Plugin authors are legends that make using neovim a breeze. Neovim maintainers are exceptional and make a fantastic piece of software.

I'm just tired of the fragility.