Waffelson@lemmy.world to linuxmemes@lemmy.world · 8 months agoWhen you realized you forgot sudolemmy.worldimagemessage-square41fedilinkarrow-up1367arrow-down118
arrow-up1349arrow-down1imageWhen you realized you forgot sudolemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 8 months agomessage-square41fedilink
minus-squaredream_weasel@sh.itjust.workslinkfedilinkarrow-up1·edit-28 months agoThere must be more to this. I just launched a terminal and created a file to test with nvim on arch and it works perfectly fine. Take a file, sudo chown root:root filename, sudo chmod 700 filename, edit with nvim and save with :w !sudo tee % then reload. Works fine. I’m on arch with suckless st. Edit: Made a demo vid - https://youtu.be/YKZuAvoSW5g
There must be more to this. I just launched a terminal and created a file to test with nvim on arch and it works perfectly fine.
Take a file, sudo chown root:root filename, sudo chmod 700 filename, edit with nvim and save with :w !sudo tee % then reload. Works fine.
I’m on arch with suckless st.
Edit:
Made a demo vid - https://youtu.be/YKZuAvoSW5g