Welcome to the Vim Hates Me show !
On today's episode : Vim -y is great : it's like nano but with vim's syntax's highlighting and notepad's sensible shortcuts, which is awesome... ... ... until you make the mistake of running it in the tty
π©βπ¦° Help I can't exit vim π
π€ Press ESC for normal mode then type :wq
π©βπ¦° I can't use normal mode, I used "vim -y" so I'm locked in insert mode
π€ It's Ctrl+Q to quit with vim -y
π©βπ¦° I know and it doesn't work... I don't know why, Ctrl+Q worked fine in "vim -y" until today π
π€ Alt+Q ? Mod+Q ?
π©βπ¦° Same
π€ Try using ZZ or ZQ directly
π©βπ¦° It just types it in the file
π€ Ctrl+C then :q!
π©βπ¦° It just types :q! in the file
π€ Alt+C ? Mod+C ?
π©βπ¦° Same
π€ Ctrl+Z to suspend vim
π©βπ¦° Doesn't work π
π€ Alt+Z ? Mod+Z ?
π©βπ¦° Same
π€ Force close the terminal window
π©βπ¦° Can't I'm in the tty π
π©βπ¦° Nevermind I found it !
π€ Ctrl+Alt+F4 sudo pkill vim ?
π©βπ¦° Yep π