How to Exit Vim
51–60 of 409 posts
Re: How to Exit Vim
#52The question is not "How" but "Why" you would want to ever do that in the first place;-) Many years ago I knew a university professor and students said about him he might leave uni occasionally but he sure never leaves Emacs. Some live in Emacs, some live in Vim.
I live in a different universe to you it seems. The only vim command I know is :q . Honestly, I tried several times over the decades and walked away with my head buzzing. PS: I don't live in emacs either! What I do love in both camps is how the explanations begin... "All you have to do is...[insert irrational (to non-vim/emacs users) command]" which makes me laugh every time. Love the article, which ironically proves…
And of course I'd have to dive deep into the ecosystem in order to get the same benefits that my main editor provides out of the box, like idk, cmd+click to go to definition, or error reporting like squiggly red lines.
Re: How to Exit Vim
#53I do not like the grep -v grep pattern. I think the regexp trick should be prefered: :!ps axuw | grep [v]im | awk '{print $2}' | xargs kill -9 This can also be merged in the awk command: :!ps axuw | awk '/[v]im/{print $2}' | xargs kill -9
Re: How to Exit Vim
#54Re: How to Exit Vim
#55Re: How to Exit Vim
#56Re: How to Exit Vim
#57I got one: stop paying the electric bill.
Re: How to Exit Vim
#58Use nvim, press Ctrl-C and it will show the corresponding help message
Re: How to Exit Vim
#59;-)
Re: How to Exit Vim
#60Just stay in Vim :)