robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #39626 docsdf5d559878

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