From 01588217b51623b3bc7030ab4a0619a84a48e288 Mon Sep 17 00:00:00 2001 From: ubergeek Date: Sun, 24 Dec 2017 16:34:59 +0000 Subject: [PATCH] wiki update --- src/articles/editors/vim.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/articles/editors/vim.md b/src/articles/editors/vim.md index c96da5c..d5d6fc1 100644 --- a/src/articles/editors/vim.md +++ b/src/articles/editors/vim.md @@ -19,6 +19,10 @@ of your screen. Type `w` and hit `enter`. You just saved your file. To quit, make sure you are in normal mode. press `:`, type `q`, and hit enter. +If you've made an edit, you wont be able to quite using just `:q`, though. If +you want to abandon your changes, use `:`, and then type `q!`, and then hit +enter. To save changes, use `:`, and then type `wq`, and then hit enter. + For a more in depth tutorial on vim, check out this cool [interactive tutorial](http://www.openvim.com/).