10
luper
6y

So I'm trying to get used to using vim and I've spent a couple of days setting up my vimrc and practising commands and what not.

Come today I'm doing my first proper coding session and my codes sending back weird errors and I can't work out why

Then when I read very carefully I find :w somewhere it's not supposed to be... Of course I'd forgetten to enter normal mode a ton of times and now my code is littered with :wq and :w so I spent a few minutes combing my code to find them all and it all works now.

Am I an elite hacker now?

Comments
  • 1
    @AlexDeLarge what's the next step? I'll make Kali Linux my daily driver, I'll do anything!
  • 1
    @Jilano oh totally joking about the Kali/hacker thing...

    Although I am gonna use that regex! Thanks for that
  • 4
    :%s/:wq?//gi

    Yawn.
  • 1
    @Jilano Oops. didn't see yours
Add Comment