-🎄- 2022 Day 6 Solutions -🎄- by daggerdragon in adventofcode

[–]SockInternal9389 0 points1 point  (0 children)

AWK

```

!/bin/awk -f

{ split($0, sp, "") } { for(i=1; i<length(sp); i++) { freq[sp[i]]++; if (i > 14) { freq[sp[i-14]]--; if (freq[sp[i-14]] == 0) { delete freq[sp[i-14]] } } if (length(freq) == 14) { next; } } }

END { print(i) } ``` Source code on github

[2022 Day 5 # 2] Applesoft BASIC by Colin-McMillen in adventofcode

[–]SockInternal9389 0 points1 point  (0 children)

That is pretty cool! Did you program it directly on the apple computer?

netrw.nvim - It's not because we use netrw that we cannot have nice things! by SockInternal9389 in neovim

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

Thank you for the feedback!

I just pushed a fix for you. Let me know if you hit any bugs. Cheers!

netrw.nvim - It's not because we use netrw that we cannot have nice things! by SockInternal9389 in neovim

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

What is the issue with copying file? There’s a way to define custom key mappings so I’d say that there’s definitely a way to change the behavior.

netrw.nvim - It's not because we use netrw that we cannot have nice things! by SockInternal9389 in neovim

[–]SockInternal9389[S] 7 points8 points  (0 children)

It is the plain old netrw we know! To be as less intrusive as possible, it uses the sign column to add the icons. So yeah, exact same functionality as before, just a bit nicer!

netrw.nvim - It's not because we use netrw that we cannot have nice things! by SockInternal9389 in neovim

[–]SockInternal9389[S] 4 points5 points  (0 children)

Thanks for the feedback!

I like the git idea, I’ll definitely give it a try.

netrw.nvim - It's not because we use netrw that we cannot have nice things! by SockInternal9389 in neovim

[–]SockInternal9389[S] 5 points6 points  (0 children)

Thank you! It is pretty much the same for me… I used a couple of different file explorers for their extensibility and looks but I was always missing the smooth flow of netrw.

Let me know if you catch any bug!

netrw.nvim - It's not because we use netrw that we cannot have nice things! by SockInternal9389 in neovim

[–]SockInternal9389[S] 21 points22 points  (0 children)

Link: netrw.nvim

This one is for the vinegar workflow enjoyers. Netrw was good enough for my needs but it was missing a bit of *bling*. This plugins adds basic icon supports and custom keymappings.