▲ 1116 ▼ Only thing getting developed is a headache (lemmy.world) submitted 2 years ago by JunglGeorg@lemmy.world to c/lemmyshitpost@lemmy.world 45 comments fedilink hide all child comments
[–] bappity@lemmy.world 107 points 2 years ago (4 children) what programming is REALLY like: permalink fedilink source hideshow 8 child comments replies: [–] MasterNerd@lemm.ee 37 points 2 years ago* (2 children) :q Wait I forgot to write out :wq Shit I need sudo privileges :q! 🥲 permalink fedilink source parent hideshow 4 child comments replies: [–] bappity@lemmy.world 16 points 2 years ago (2 children) making a load of edits then FINDING OUT YOU WEREN'T SUDO AAAARGHHHHHHH permalink fedilink source parent hideshow 4 child comments replies: [–] icydefiance@lemm.ee 16 points 2 years ago (1 child) :w !sudo tee % Of course that's impossible to remember, but you can just google "vim sudo save" or something like that to find it. permalink fedilink source parent hideshow 2 child comments replies: [–] uranibaba@lemmy.world 2 points 2 years ago (2 children) Can nano do this too? permalink fedilink source parent hideshow 4 child comments replies: [–] gandalf_der_12te@feddit.de 4 points 2 years ago nano tells you upfront when you're editing a file that you can't write to. permalink fedilink source parent [–] icydefiance@lemm.ee 3 points 2 years ago I don't think so, but you can always write the file somewhere else and then sudo mv it back. permalink fedilink source parent [–] _stevo_@lemmy.ml 2 points 2 years ago Why oh why doesn't it put a small banner like nano on opening, you must wait until saving. permalink fedilink source parent [–] PreviouslyAmused@lemmy.ml 2 points 2 years ago (1 child) Bam! Got it one! Well done. permalink fedilink source parent hideshow 2 child comments replies: [–] MasterNerd@lemm.ee 2 points 2 years ago Sssh permalink fedilink source parent [–] zerotime@feddit.de 11 points 2 years ago* That's why I use nano. permalink fedilink source parent [–] DocMcStuffin@lemmy.world 10 points 2 years ago You never have to exit vim when you make it your only editor. permalink fedilink source parent [+] Moc@lemmy.world 1 point 2 years ago* [deleted] permalink fedilink source parent
[–] MasterNerd@lemm.ee 37 points 2 years ago* (2 children) :q Wait I forgot to write out :wq Shit I need sudo privileges :q! 🥲 permalink fedilink source parent hideshow 4 child comments replies: [–] bappity@lemmy.world 16 points 2 years ago (2 children) making a load of edits then FINDING OUT YOU WEREN'T SUDO AAAARGHHHHHHH permalink fedilink source parent hideshow 4 child comments replies: [–] icydefiance@lemm.ee 16 points 2 years ago (1 child) :w !sudo tee % Of course that's impossible to remember, but you can just google "vim sudo save" or something like that to find it. permalink fedilink source parent hideshow 2 child comments replies: [–] uranibaba@lemmy.world 2 points 2 years ago (2 children) Can nano do this too? permalink fedilink source parent hideshow 4 child comments replies: [–] gandalf_der_12te@feddit.de 4 points 2 years ago nano tells you upfront when you're editing a file that you can't write to. permalink fedilink source parent [–] icydefiance@lemm.ee 3 points 2 years ago I don't think so, but you can always write the file somewhere else and then sudo mv it back. permalink fedilink source parent [–] _stevo_@lemmy.ml 2 points 2 years ago Why oh why doesn't it put a small banner like nano on opening, you must wait until saving. permalink fedilink source parent [–] PreviouslyAmused@lemmy.ml 2 points 2 years ago (1 child) Bam! Got it one! Well done. permalink fedilink source parent hideshow 2 child comments replies: [–] MasterNerd@lemm.ee 2 points 2 years ago Sssh permalink fedilink source parent
[–] bappity@lemmy.world 16 points 2 years ago (2 children) making a load of edits then FINDING OUT YOU WEREN'T SUDO AAAARGHHHHHHH permalink fedilink source parent hideshow 4 child comments replies: [–] icydefiance@lemm.ee 16 points 2 years ago (1 child) :w !sudo tee % Of course that's impossible to remember, but you can just google "vim sudo save" or something like that to find it. permalink fedilink source parent hideshow 2 child comments replies: [–] uranibaba@lemmy.world 2 points 2 years ago (2 children) Can nano do this too? permalink fedilink source parent hideshow 4 child comments replies: [–] gandalf_der_12te@feddit.de 4 points 2 years ago nano tells you upfront when you're editing a file that you can't write to. permalink fedilink source parent [–] icydefiance@lemm.ee 3 points 2 years ago I don't think so, but you can always write the file somewhere else and then sudo mv it back. permalink fedilink source parent [–] _stevo_@lemmy.ml 2 points 2 years ago Why oh why doesn't it put a small banner like nano on opening, you must wait until saving. permalink fedilink source parent
[–] icydefiance@lemm.ee 16 points 2 years ago (1 child) :w !sudo tee % Of course that's impossible to remember, but you can just google "vim sudo save" or something like that to find it. permalink fedilink source parent hideshow 2 child comments replies: [–] uranibaba@lemmy.world 2 points 2 years ago (2 children) Can nano do this too? permalink fedilink source parent hideshow 4 child comments replies: [–] gandalf_der_12te@feddit.de 4 points 2 years ago nano tells you upfront when you're editing a file that you can't write to. permalink fedilink source parent [–] icydefiance@lemm.ee 3 points 2 years ago I don't think so, but you can always write the file somewhere else and then sudo mv it back. permalink fedilink source parent
[–] uranibaba@lemmy.world 2 points 2 years ago (2 children) Can nano do this too? permalink fedilink source parent hideshow 4 child comments replies: [–] gandalf_der_12te@feddit.de 4 points 2 years ago nano tells you upfront when you're editing a file that you can't write to. permalink fedilink source parent [–] icydefiance@lemm.ee 3 points 2 years ago I don't think so, but you can always write the file somewhere else and then sudo mv it back. permalink fedilink source parent
[–] gandalf_der_12te@feddit.de 4 points 2 years ago nano tells you upfront when you're editing a file that you can't write to. permalink fedilink source parent
[–] icydefiance@lemm.ee 3 points 2 years ago I don't think so, but you can always write the file somewhere else and then sudo mv it back. permalink fedilink source parent
[–] _stevo_@lemmy.ml 2 points 2 years ago Why oh why doesn't it put a small banner like nano on opening, you must wait until saving. permalink fedilink source parent
[–] PreviouslyAmused@lemmy.ml 2 points 2 years ago (1 child) Bam! Got it one! Well done. permalink fedilink source parent hideshow 2 child comments replies: [–] MasterNerd@lemm.ee 2 points 2 years ago Sssh permalink fedilink source parent
[–] zerotime@feddit.de 11 points 2 years ago* That's why I use nano. permalink fedilink source parent
[–] DocMcStuffin@lemmy.world 10 points 2 years ago You never have to exit vim when you make it your only editor. permalink fedilink source parent