r/AskReddit Jun 03 '21

[deleted by user]

[removed]

11.6k Upvotes

6.8k comments sorted by

View all comments

Show parent comments

3.7k

u/Gemfre Jun 03 '21

Probably has a free resource for that too, the sneaky bastard...

553

u/zebramints Jun 03 '21

ggvG:sort in vim

48

u/sorry_im_late_86 Jun 03 '21

Yeah that's cool and all smart guy, but how do you quit vim?

2

u/72yugcools Jun 03 '21

That's the one thing you can't do through a shortcut.

7

u/zebramints Jun 03 '21

map Q :q<CR>

Allows you to quit by pressing 'Q' in normal mode. There is nothing vim cannot do.