Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Easiest way for cat to kill your file in Vim?

Name: Anonymous 2009-06-16 12:37

What's the shortest and easiest (few key modifiers) combination of keys in Vim that a cat can press in order to mangle and save your file?

I'm thinking something like dgZZ (delete from cursor to start, save file).  I guess caps lock for the double Z.

Name: Anonymous 2009-06-16 12:50

>>1
CTRL+A SUPR CTRL+S

Name: Anonymous 2009-06-16 12:51

>>1
I don't think you have a cat, enjoy your file integrity, alone.

Name: Anonymous 2009-06-16 12:54

I don't see any particularly short and easy way. A cat would definitely have trouble doing that.

Your best shot might be creating your own command to do that, you can do it with :nmap. I recommend: :nmap <CR> :%d | wq

Name: Anonymous 2009-06-16 13:06

d% something something.

Name: Anonymous 2013-10-21 22:09

I ARE BLACK

Name: Anonymous 2013-11-03 6:55

*YOU HAVE BEEN VISITED BY LE TOP LEL OF COMEDY GOLD** POST THIS IN 3 threads or lose your sides!
░░░░░░░▄▀▀▀░▄▄▄▄░░░▀▀▀▀▀▀▀▀▄▄░▀
░░░░░░░█░░░░░░░░▀▀▀▀▀▄▄▄▄▄▄▄▄▀░░█
░░░░░▄▀░░░░░░░░░░▄░░░░░░░░▄▄░░░░░▀▄
░░░▄▀░░░░░▄▀▀▀█▄░▀░░░░▄▀▀▀██▀▀▄░░░░░▀
░░▄▀░░▄▄░░▀▀▀▀████▀░░░▀▄▄▀▀▀▀▄█░░░░░░█
░▄▀░▄▀█░░▄▄░░░░░░░█░░░░░▄▄▄░░░▀▀░░░░░░█
▄▀░░█░█░▀░░▀▀▄░░░░░█░░░░░░░▀▀▀▀▀▄░░░░░█
▀▄░░▀░█░░░▄░░░░░░▄▀░░░░▀▄░░░▄▄░░▀▄░█░▄▀
░░▀▄░░░░█▀▄░░░░░▀█░░░░▀▀░█▄▀▄░█░░░█░█
░░░░█░░█░▀▄▀▄▄░░░░▀▀▀░░░▄█▀░▄▀█░░░░▄
░░░░░█░░█░▀▀▄░▀▄▄▄▄▄▄▄▀█░▄█▀▄▀░░░░░
░░░░░█░░▀▄▄░░▀█░░░█░░▄▄▀▀▄▄█▀░░░░▀
░░░░▄▀░░░▀▄▀▀▄░▀▀▀▀▀▀▄▄▀▀▀▄▀░░░░▀
░░░▄▀░░░░░░▀▄░█▄▄▄▄▀▀░▀▄▀▀░░░▄▀▀
░░▄▀░░░░░░░░░▀▄▄▄▄█▄▄▀▀░░░░▄
░░█░░░░░░▀▄▄░░░▄▄▄▄▄▄▀░░░▄▀
░░█░░░░░░░░░▀▀▀▄▄▄▄▄▄▄▀▀
░░░█░░░░░░▀▀▀▀▀░░░░▄
░░░▀▀▄▄▄▄▄▄▄▄▄▀▀▀

Name: Anonymous 2013-11-03 12:33

install emacs

Name: Anonymous 2013-11-03 13:10

:%d<cr>ZZ

Name: Anonymous 2013-11-04 3:05

dubs

Don't change these.
Name: Email:
Entire Thread Thread List