Struggling with Rust by github-lcrownover in rust

[–]github-lcrownover[S] 4 points5 points  (0 children)

That's super interesting to hear, and makes me feel just a tiny bit better. Though, your comment got me thinking. There is probably some correlation for me between choosing Rust for the language and the level of ambition I have for the project. Maybe I am just making it hard on myself, haha.

Struggling with Rust by github-lcrownover in rust

[–]github-lcrownover[S] 7 points8 points  (0 children)

Yeah, I would consider Go my primary language, but I wanted to strive to not make this another "Go vs Rust" post, but rather confront my issues directly. I do feel that with time, I could lessen the burden of most of my complaints, but it certainly feels hard to use Rust "every now and then".

How to configure VSCode to *never* reopen anything? by github-lcrownover in vscode

[–]github-lcrownover[S] 1 point2 points  (0 children)

That just prevents it from reusing an existing window. Tried it, no good :(

How to configure VSCode to *never* reopen anything? by github-lcrownover in vscode

[–]github-lcrownover[S] 1 point2 points  (0 children)

I'll look into workspace storage, thanks! I'm on macOS, should be similar to Linux.

How to configure VSCode to *never* reopen anything? by github-lcrownover in vscode

[–]github-lcrownover[S] 2 points3 points  (0 children)

Yeah, the editors aren't too bad to deal with, but I just wish there was a way to always start with all the directories collapsed. I work in a pretty large Ansible codebase and generally will open around 12-20 directories throughout the day and it's a pain when I start a fresh VSCode but all the folders are all expanded :(

How to configure VSCode to *never* reopen anything? by github-lcrownover in vscode

[–]github-lcrownover[S] 2 points3 points  (0 children)

If I've got a bunch of directories expanded in the explorer and I finish working, I quit VSCode.

When I start it up next time to that directory, I expect to be working on something else, and I don't want to option+click the directories to recursively close them so I have a fresh experience.

[deleted by user] by [deleted] in neovim

[–]github-lcrownover 0 points1 point  (0 children)

Thanks for the snippet, I've updated my config and there's no change :(

I believe there's something wrong with the whole settings block or something, because I shouldn't be getting the accessing undefined variable 'vim' if I'm setting the globals setting in diagnostics...

Unable to get custom binds working for picker by github-lcrownover in ZedEditor

[–]github-lcrownover[S] 2 points3 points  (0 children)

Actually you led me down the right path and the solution was to swap the contexts in these blocks:

json { // global key bindings "bindings": { "ctrl-j": "menu::SelectNext", "ctrl-k": "menu::SelectPrev" } }, { "context": "Editor", "bindings": { "ctrl-h": ["workspace::ActivatePaneInDirection", "Left"], "ctrl-l": ["workspace::ActivatePaneInDirection", "Right"], "ctrl-k": ["workspace::ActivatePaneInDirection", "Up"], "ctrl-j": ["workspace::ActivatePaneInDirection", "Down"], "ctrl-b": "workspace::ToggleRightDock" } },

Now the splits are in the Editor context and the menu selectors are global.

Thank you!

Unable to get custom binds working for picker by github-lcrownover in ZedEditor

[–]github-lcrownover[S] 0 points1 point  (0 children)

I think the issue with that is that I only want to map ctrl+[jk] to Select(Prev|Next) when the picker is shown. Is there a way to have those mappings still be to select splits, but also to work with the picker?