How to Exit Vim
11–20 of 409 posts
Re: How to Exit Vim
#12I recently did an interview where I had to implement something to flatten a deeply nested structure into a map of path -> value.
The interviewee's had me use VIM. That was my first real dive into it. Solved the problem, already forget how to use VIM. :)
Re: How to Exit Vim
#13(That and the Rogue navigation keys.)
Re: How to Exit Vim
#14Seriously, when CES is currently showing hundreds of new tech products and services, including a Hyundai electric helicopter - Vim is what we still talk about?
Re: How to Exit Vim
#15Re: How to Exit Vim
#16Oh looks, it's only been 10 minutes since the last Vim article was trending on HN, we're rivalling Hollywood levels of bubble here. Seriously, when CES is currently showing hundreds of new tech products and services, including a Hyundai electric helicopter - Vim is what we still talk about?
Re: How to Exit Vim
#17:x
which effectively does an :wq if there have been changes but is one character less.
Re: How to Exit Vim
#18pssh.. they didn't mention the vimtectualist way - :q! or the French way - ZZ
HOW DID I NOT KNOW THIS
Re: How to Exit Vim
#19pssh.. they didn't mention the vimtectualist way - :q! or the French way - ZZ
As a vim noob, I needed to look it up [0]. ZZ saves the current file if modified and closes it. ZQ closes it without saving. Thank you, that will save me a few seconds per year. Why the French way? I don't get it and I am very curious :-) [0] https://unix.stackexchange.com/questions/93144/exit-vim-more...