Waffelson@lemmy.world to linuxmemes@lemmy.world · 9 months agoWhen you realized you forgot sudolemmy.worldimagemessage-square41fedilinkarrow-up1366arrow-down115
arrow-up1351arrow-down1imageWhen you realized you forgot sudolemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 9 months agomessage-square41fedilink
minus-squarez3rOR0nelinkfedilinkarrow-up2arrow-down1·9 months agoApparently that doesn’t work in NeoVim, so recently I installed the suda plugin. Personally, I just doas nvim and then the file name that needs root access, but it’s a handy plugin in case I forget.
minus-squaredream_weasel@sh.itjust.workslinkfedilinkarrow-up1·9 months ago??? I used this in neovim twice today :w !sudo tee % then reload when it asks.
Apparently that doesn’t work in NeoVim, so recently I installed the suda plugin.
Personally, I just doas nvim and then the file name that needs root access, but it’s a handy plugin in case I forget.
??? I used this in neovim twice today
:w !sudo tee %
then reload when it asks.