From 429a03869cc0d6e040aff6ffce1725cff56637dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Karlstr=C3=B6m?= Date: Thu, 23 Apr 2020 16:11:14 +0200 Subject: [vim/en] Add shortcut for quit vim --- vim.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'vim.html.markdown') diff --git a/vim.html.markdown b/vim.html.markdown index 5b84a3ea..65efc25c 100644 --- a/vim.html.markdown +++ b/vim.html.markdown @@ -24,6 +24,7 @@ specific points in the file, and for fast editing. ZZ # Save file and quit vim :q! # Quit vim without saving file # ! *forces* :q to execute, hence quiting vim without saving + ZQ # Quit vim without saving file :x # Save file and quit vim, shorter version of :wq u # Undo -- cgit v1.2.3 From a7b0c945de3501cae2ad2e4940bff4553a71ef5c Mon Sep 17 00:00:00 2001 From: Hunter Coleman <35200320+HColeman1@users.noreply.github.com> Date: Sat, 2 May 2020 14:36:06 -0500 Subject: added the join command --- vim.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'vim.html.markdown') diff --git a/vim.html.markdown b/vim.html.markdown index 65efc25c..27d90f18 100644 --- a/vim.html.markdown +++ b/vim.html.markdown @@ -182,6 +182,7 @@ A few important examples of 'Verbs', 'Modifiers', and 'Nouns': ~ # Toggle letter case of selected text u # Selected text to lower case U # Selected text to upper case + J # Join the current line with the next line # Fold text zf # Create fold from selected text -- cgit v1.2.3 From 02d9674e188a5b6b770f1b75d98a154438259246 Mon Sep 17 00:00:00 2001 From: Yatin Aditya Tekumalla Date: Fri, 12 Jun 2020 10:58:50 +0530 Subject: Update vim.html.markdown Add information about vimtutor, a tutor that comes with vim. --- vim.html.markdown | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vim.html.markdown') diff --git a/vim.html.markdown b/vim.html.markdown index 65efc25c..be3c97f5 100644 --- a/vim.html.markdown +++ b/vim.html.markdown @@ -13,6 +13,9 @@ editor designed for speed and increased productivity, and is ubiquitous in most unix-based systems. It has numerous keybindings for speedy navigation to specific points in the file, and for fast editing. +`vimtutor` is a an excellent application that teaches you how to use `Vim`. It comes with the vim package during installation. You should be able to just run "vimtutor" on the command line to open this tutor. It will guide you through all the major features in `vim`. + + ## Basics of navigating Vim ``` -- cgit v1.2.3