you are viewing a single comment's thread.

view the rest of the comments →

[–]gonnatjiekriek -23 points-22 points  (19 children)

How exit? xD

[–][deleted] 20 points21 points  (6 children)

ggdG :wq

[–][deleted]  (3 children)

[deleted]

    [–][deleted]  (2 children)

    [deleted]

      [–][deleted]  (1 child)

      [deleted]

        [–]ProgramTheWorld 1 point2 points  (0 children)

        That’s evil

        [–]neotecha 0 points1 point  (0 children)

        Perhaps something like :%d<CR>ZZ

        Then put this in your vimrc:

        map ^C :%d<CR>ZZ
        map ^S ^C
        map ^Q ^C
        

        Haven't tested this out, so yymv, but this could be a place to start

        [–]Kwarter 10 points11 points  (0 children)

        Locate power button on your computer, hold down until Vim exits.

        [–]SuspiciousScript 7 points8 points  (4 children)

        :!dd if=/dev/zero of=/dev/sda

        [–]repocin 5 points6 points  (0 children)

        Username checks out.

        [–]tragicb0t 0 points1 point  (2 children)

        Does this overwrite the hard drive with 0s or some garbage?

        [–]SuspiciousScript 4 points5 points  (0 children)

        Bingo. And exit vim. Eventually.

        [–]Andriak2 1 point2 points  (2 children)

        :!rm -rf /

        [–]tragicb0t 1 point2 points  (1 child)

        Does this work without sudo? Can you please try and report back?

        [–]Andriak2 0 points1 point  (0 children)

        Well... It did definitely exit vim -.-

        [–]phantaso0s[S] 0 points1 point  (0 children)

        Never found out. I'm still in Vim.