usr_01.txt (4041B)
1 *usr_01.txt* Nvim 2 3 4 VIM USER MANUAL by Bram Moolenaar 5 6 7 About the manuals 8 9 10 This chapter introduces the manuals available with Vim. Read this to know the 11 conditions under which the commands are explained. 12 13 |01.1| Two manuals 14 |01.2| Vim installed 15 |01.3| Using the Vim tutor 16 |01.4| Copyright 17 18 Next chapter: |usr_02.txt| The first steps in Vim 19 Table of contents: |usr_toc.txt| 20 21 ============================================================================== 22 *01.1* Two manuals 23 24 The Vim documentation consists of two parts: 25 26 1. The User manual 27 Task oriented explanations, from simple to complex. Reads from start to 28 end like a book. 29 30 2. The Reference manual 31 Precise description of how everything in Vim works. 32 33 The notation used in these manuals is explained here: |notation| 34 35 36 JUMPING AROUND 37 38 The text contains hyperlinks between the two parts, allowing you to quickly 39 jump between the description of an editing task and a precise explanation of 40 the commands and options used for it. Use these two commands: 41 42 Press CTRL-] to jump to a subject under the cursor. 43 Press CTRL-O to jump back (repeat to go further back). 44 45 Many links are in vertical bars, like this: |bars|. The bars themselves may 46 be hidden or invisible; see below. An option name, like 'number', a command 47 in double quotes like ":write" and any other word can also be used as a link. 48 Try it out: Move the cursor to CTRL-] and press CTRL-] on it. 49 50 Other subjects can be found with the ":help" command; see |help.txt|. 51 52 The bars and stars are usually hidden with the |conceal| feature. They also 53 use |hl-Ignore|, using the same color for the text as the background. You can 54 make them visible with: > 55 :set conceallevel=0 56 :hi link HelpBar Normal 57 :hi link HelpStar Normal 58 59 ============================================================================== 60 *01.2* Vim installed *setup-vimrc_example* 61 62 To create an empty vimrc: > 63 64 :call mkdir(stdpath('config'),'p') 65 :exe 'edit' stdpath('config').'/init.vim' 66 :write 67 68 For more info see |vimrc|. 69 70 ============================================================================== 71 *01.3* Using the Vim tutor *tutor* *vimtutor* 72 73 Instead of reading the text (boring!) you can use :Tutor to learn your first 74 Vim commands. This is a 30-minute tutorial that teaches the most basic Vim 75 functionality hands-on. 76 77 To start the tutorial, execute > 78 79 :Tutor 80 < 81 from within nvim. The tutorial will lead you from that point. Have fun! 82 83 ============================================================================== 84 *01.4* Copyright *manual-copyright* 85 86 The Vim user manual and reference manual are Copyright (c) 1988 by Bram 87 Moolenaar. This material may be distributed only subject to the terms and 88 conditions set forth in the Open Publication License, v1.0 or later. The 89 latest version is presently available at: 90 https://opencontent.org/openpub/ 91 92 People who contribute to the manuals must agree with the above copyright 93 notice. 94 *frombook* 95 Parts of the user manual come from the book "Vi IMproved - Vim" by Steve 96 Oualline (published by New Riders Publishing, ISBN: 0735710015). The Open 97 Publication License applies to this book. Only selected parts are included 98 and these have been modified (e.g., by removing the pictures, updating the 99 text for Vim 6.0 and later, fixing mistakes). The omission of the |frombook| 100 tag does not mean that the text does not come from the book. 101 102 Many thanks to Steve Oualline and New Riders for creating this book and 103 publishing it under the OPL! It has been a great help while writing the user 104 manual. Not only by providing literal text, but also by setting the tone and 105 style. 106 107 If you make money through selling the manuals, you are strongly encouraged to 108 donate part of the profit to help AIDS victims in Uganda. See |Kuwasha|. 109 110 ============================================================================== 111 112 Next chapter: |usr_02.txt| The first steps in Vim 113 114 Copyright: see |manual-copyright| vim:tw=78:ts=8:noet:ft=help:norl: