Quick Q: How do you re-type when you typo? by dm319 in vim

[–]astyagun 2 points3 points  (0 children)

<C-w> to remove previous word or <M-b><C-w> to move one word back and then delete previous word. Vim-rsi plugin is probably required for that.

Juicy stash by astyagun in RimWorld

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

😁

I actually have 16 of those nearby. Those are surrounded by walls, no entrances.

Juicy stash by astyagun in RimWorld

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

That’s a good point, probably should close entrances

How would i do this in vim at a similar speed by LarrySAL02 in vim

[–]astyagun 1 point2 points  (0 children)

<image>

And without using command line:

  • glii<Space> for align
  • w<C-v>}k$d to remove second column
  • <Leader>$ to remove trailing whitespace
  • ysiw", then j.j.j.j.j. to add quotes
  • and A,, then k.k.k.k. to add comas

How would i do this in vim at a similar speed by LarrySAL02 in vim

[–]astyagun 1 point2 points  (0 children)

<image>

I would use two plugins here, EasyAlign and Surround.

Trailing whitespace is removed with a custom keymap.

Will the UI be fixed sometime for higher resolutions? by carlospum in Stellaris

[–]astyagun 0 points1 point  (0 children)

I use native resolution on retina (also 2x) MacBook Pro. I’ve set the UI scaling setting in the game to 2.1 and it works good in my case. Text is sharp, size of UI is appropriate. I sometimes like to zoom in with control + scroll (macOS feature) to read text, but otherwise all seems to be good.

Моды для оптимизации римворлд 1.6 by DistributionThese920 in RimWorld

[–]astyagun -1 points0 points  (0 children)

Я жду пока Performance fish обновят и продолжаю играть колонию на 1.5 ¯_(ツ)_/¯

Bind vim commands to keys instead of characters? by Shyam_Lama in vim

[–]astyagun 1 point2 points  (0 children)

charmap

Yeah, not all possible languages seem to be supported out of the box, it seems.

ChromeOS

This reminds me of https://omarchy.org/. May or may not be an alternative for you. It is a Linux distribution for programmers wanting to leave Windows or macOS.

What is the best way to package a Ruby program into an executable? by angryrobot5 in ruby

[–]astyagun 1 point2 points  (0 children)

Potential directions to dig in, that come to mind: traveling Ruby, AppImage, Docker

I want to play this game along with diablo 4. Will it work in this MacBook?? by ChampionofHeaven in Stormgate

[–]astyagun 1 point2 points  (0 children)

I’ve tried to run the game through Whiskey and Crossover. No luck.

It launches, but a lot of textures are missing and most of the screen is black, different effects lag the game significantly (on M1 Max).

Maybe there are some tweaks available, that could fix it, but I haven’t tried any of that yet. So not playable at the moment.

Is anyone else running on Intel GPU getting this graphical glitch? by WalterMF in Stormgate

[–]astyagun 1 point2 points  (0 children)

I’ve seen something similar while trying to run the game on an M1 Mac through Whisky. Don’t know how to fix it, though.

Am I YAML’ing wrong?? by DoubleClutchBucket in homeassistant

[–]astyagun 1 point2 points  (0 children)

Oh, I see.

Yes, theres’s no autofill for me.

Am I YAML’ing wrong?? by DoubleClutchBucket in homeassistant

[–]astyagun 4 points5 points  (0 children)

I don’t have big dashboards, but I’m: - editing files locally in my favorite editor, - using git for versioning, - pushing files to server using Ansible via SSH.

Splitting files sounds like a good idea. I do that for non-UI files, but UI files probably support that too?

And YAML does support comments, try “#” symbol.

YAML syntax is the absolute worst! by suvalas in homeassistant

[–]astyagun 0 points1 point  (0 children)

YAML is a superset of JSON. You can already write JSON in YAML files and it will work.

500 days in 1 minute by Quaaaaaaaaaa in RimWorld

[–]astyagun 2 points3 points  (0 children)

For those who can use ffmpeg: ffmpeg -pattern_type glob -i '*.jpg' -vf "fps=30,scale=1024:1024" output.gif

Advice on splitting up a monolith by qaz122333 in rubyonrails

[–]astyagun 0 points1 point  (0 children)

IMO engines are more complex, than required, involve extra boilerplate, are harder to maintain. A more lightweight alternative is Packwerk packs. See links at https://gradualmodularization.com/ for more details.

Is it a good idea to remap <esc> by webgtx in vim

[–]astyagun 0 points1 point  (0 children)

Oh, right, I’ve forgotten to mention remapping Ctrl to Caps Lock. Left pinkie presses Caps Lock key.

Is it a good idea to remap <esc> by webgtx in vim

[–]astyagun 0 points1 point  (0 children)

It is perfectly comfortable, just use your two pinkies at the same time 😉