this post was submitted on 14 Aug 2023
22 points (100.0% liked)

Arch Linux

7526 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

I have a few devices running Arch... Rasperrys, laptops, a NAS, etc

After an update I'll run pacdiff to check for any updated configurations to look out for.

On the laptops I'll use meld to compare and it's nice to visually pick and choose what to update.

But for the headless units, I'm using vimdiff and it's sometimes difficult to see what to change - esp. when a few lines in a block of changes needs picking and choosing.

What other approaches are you using for this?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

I use nvim -D which is a lot like vimdiff. Few tips:

  • if the color scheme is unreadable, try :set termguicolors
  • dp to push a diff chunk to the other file
  • do to obtain a chunk from the other file
  • I have alt+hjkl bound to switch windows, which is nice

It works really well for me, I haven't wanted anything else. I'm one of those weirdos who spends all day using neovim, though

[โ€“] [email protected] 2 points 1 year ago

Ah, ok, not tried that... I'll check it out. Thanks