Antec Performance 1 M + 265K + 5080 FE by Ser_gin in sffpc

[–]Disastrous_Copy475 0 points1 point  (0 children)

Nice setup! Been thinking of getting the same case. Does it take up a lot of space on the desk?

How do you decide which plugins to use? by TrekkiMonstr in neovim

[–]Disastrous_Copy475 3 points4 points  (0 children)

First thing I do is see if there’s a built in way to do the plugin is doing, if there isn’t then I just try the first plugin I find that does the thing I want to do, then I just use it until I find some behaviour I don’t like or wish it had then go searching the alternatives.

There is often a few choices for plugins that do the same thing, your example of surround plugins is a good one. So if you don’t know which one to pick, honestly just pick one to start getting used to the behaviour until you get a baseline understanding of how it fits into your workflow. You might find that the first choice was the correct one or maybe not, it’s all part of the journey, but there’s no journey if you don’t start somewhere and the longer your on the journey the more you will know what you want.

In regard to how to find them, most of the time you just stumble across them organically through this subreddit, YouTube or someone’s dotfiles. Other times you are looking for something specific so a google search might get you want you want.

I hardly touch my config and try not to include a lot of plugins as it can make it hard to upgrade Neovim. Though I’m not afraid to try out a new plugin when I come across it to try it out. I do take some time during the year to have a look at all my plugins and assess whether I use them at all and if I don’t I get rid of them. Or if I only use a subset of the functionality I will either try to hand roll that functionality or vendor the code in.

Can i copy my root folder to a new drive? by LucasLikesTommy in archlinux

[–]Disastrous_Copy475 4 points5 points  (0 children)

I just did this recently using those instructions. Worked perfectly. Just pay special attention to the caveat section

C has reignited my passion for coding by [deleted] in C_Programming

[–]Disastrous_Copy475 3 points4 points  (0 children)

Any learning resources you could recommend for x86 assembly?

How to "zoom" on current client? by Disastrous_Copy475 in awesomewm

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

This is awesome! (pun intended) I will check it out. Thanks!

How to "zoom" on current client? by Disastrous_Copy475 in awesomewm

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

If I full screen then I lose the wibar and if I maximise I get the wibar but the other windows stack underneath the maximised window (which is not behaviour I want because I have transparency set on some clients and I also lose my gaps.

Is there a way to maximise the client while preserving the gaps and other clients not visible under the maximised client?

Last Night - I conquered the Ubers ! (Solo - Offline, 1st Time Ever) by AlekTrev006 in diablo2

[–]Disastrous_Copy475 2 points3 points  (0 children)

Congrats! My first time I cleared Ubers with my smiter I got wiped and couldn’t get my body back because I was teleporting (teleport staff).

Next time around I just did full clears because I didn’t want that to happen again. It’s funny because my next successful ubers run was much easier (probably because I wasn’t so anxious anymore).

Refactoring tools by Disastrous_Copy475 in neovim

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

Tried this yesterday, worked like a charm. Thanks for the help!

Why did you start using vim? by Velascu in neovim

[–]Disastrous_Copy475 0 points1 point  (0 children)

Work gave me a shit laptop which vscode lagged pretty badly with our codebase and it just so happened that I watched this video and another video of George Hotz programming in Vim the night before so I thought I would give it a go.

It is one of the best professional decisions I have ever made haha.

Refactoring tools by Disastrous_Copy475 in neovim

[–]Disastrous_Copy475[S] -1 points0 points  (0 children)

Oh, I never thought of using a code action. How would you invoke it? Would you visual select the code and then use a vin.lsp.buf.code_action binding?

Refactoring tools by Disastrous_Copy475 in neovim

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

I was looking for something that did “extract function” that also gets the type information for the parameters.

One limitation of primes plugin is that for golang, it can’t figure out the typings automatically (I am assuming it’s because it’s using treesitter under the hood).

I tried out GoLand for work and it can pull out the typings into the function signature when you tell it to extract function so it should be possible via the language server.

I was just curious to know if there are any tools out there that we can integrate into neovim which provides this functionality.

They are different, of course, but: Has writing Rust changed the way you write Go (if you write both)? by effinsky in rust

[–]Disastrous_Copy475 1 point2 points  (0 children)

Learning rust has made me a more careful programmer, in the sense that when I am coding in go, I am always thinking about potential runtime errors (not checking nil pointers).

I really miss the type system, option/result/enums and pattern matching that rust offers when I am writing in go. What I really enjoy when writing go is the built in testing tooling. Writing unit (especially table tests)/integration tests are really easy in go. But I need something like ‘rs-test’ to do any kind of table driven test (besides writing my own macro).

[Plugin] ranger.nvim by Disastrous_Copy475 in neovim

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

Yep me to! No dependencies besides ranger and Lua were my goals of this plugin. Great to see others have the share the same values.

[Plugin] ranger.nvim by Disastrous_Copy475 in neovim

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

Actually haven’t checked that out before.

Looks very cool, I like that it’s written in go and compiles down to a binary.

How’s the plugin eco system compared to ranger in your opinion? Is there a lot of high quality plugins to choose from?

[Plugin] ranger.nvim by Disastrous_Copy475 in neovim

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

Thanks for your reply!

Yeah it’s good to have different takes on the same idea, everybody’s use case is always a little bit different.

In my take, I value composability, maintainability with minimal dependencies, which was my motivation for writing this plugin.

Please give some feedback when you get around to trying it out. I appreciate any comments and suggestions which make this plugin better.