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?

  • traches
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    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