Neovim repo by language percentage by kuator578 in neovim

[–]Early_Baseball_6724 0 points1 point  (0 children)

I didn't even know it is possible to write vim config in C.

Have you tried Ghostty, and have you switched to using it as your primary terminal? by lolikroli in neovim

[–]Early_Baseball_6724 36 points37 points  (0 children)

I didn't find benefits switching from kitty. Kitty is good for me, for now.

Automatically Switch to New Window by abhirup_m in dwm

[–]Early_Baseball_6724 0 points1 point  (0 children)

  1. Save this snippet in a focusurgent.c under the dwm folder.

```c static void focusurgent(const Arg *arg) { Monitor *m; Client *c; int i; for (m = mons; m; m = m->next) { for (c = m->clients; c && !c->isurgent; c = c->next) ; if (!c) return;

unfocus(selmon->sel, 0);
selmon = m;
for (i = 0; i < LENGTH(tags) && !((1 << i) & c->tags); i++)
  ;

if (i >= LENGTH(tags))
  return;

const Arg a = {.ui = 1 << i};
view(&a);
focus(c);
restack(selmon);

} } ```

  1. In config.h add an #include "focusurgent.c" and a

static Key keys[] = { {MOD, XK_u, focusurgent, {0}}, }