mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	docs: update usr_02.txt #35031
Problem: - There is reference to gVim in the usr_02.txt file, even though Nvim has no built-in GUI. - `:h help-summary` has a section about optional features (e.g. `+conceal`) even though such thing does not exist in Nvim (`:h +conceal` will give E149 error). Solution: - Remove reference to gVim. - Replace the section about optional features with a section about Lua.
This commit is contained in:
		| @@ -25,9 +25,9 @@ Table of contents: |usr_toc.txt| | |||||||
| ============================================================================== | ============================================================================== | ||||||
| *02.1*	Running Vim for the First Time | *02.1*	Running Vim for the First Time | ||||||
|  |  | ||||||
| To start Vim, enter this command: > | To start Nvim, enter this command: > | ||||||
|  |  | ||||||
| 	gvim file.txt | 	nvim file.txt | ||||||
|  |  | ||||||
| On Unix you can type this at any command prompt.  If you are running Microsoft | On Unix you can type this at any command prompt.  If you are running Microsoft | ||||||
| Windows, open a Command Prompt and enter the command.  In either case, Vim | Windows, open a Command Prompt and enter the command.  In either case, Vim | ||||||
| @@ -50,20 +50,6 @@ screen, a message line indicates the file is named file.txt and shows that you | |||||||
| are creating a new file.  The message information is temporary and other | are creating a new file.  The message information is temporary and other | ||||||
| information overwrites it. | information overwrites it. | ||||||
|  |  | ||||||
|  |  | ||||||
| THE VIM COMMAND |  | ||||||
|  |  | ||||||
| The gvim command causes the editor to create a new window for editing.  If you |  | ||||||
| use this command: > |  | ||||||
|  |  | ||||||
| 	vim file.txt |  | ||||||
|  |  | ||||||
| the editing occurs inside your command window.  In other words, if you are |  | ||||||
| running inside an xterm, the editor uses your xterm window.  If you are using |  | ||||||
| the command prompt under Microsoft Windows, the editing occurs inside this |  | ||||||
| window.  The text in the window will look the same for both versions, but with |  | ||||||
| gvim you have extra features, like a menu bar.  More about that later. |  | ||||||
|  |  | ||||||
| ============================================================================== | ============================================================================== | ||||||
| *02.2*	Inserting text | *02.2*	Inserting text | ||||||
|  |  | ||||||
| @@ -580,7 +566,7 @@ Summary:					*help-summary*  > | |||||||
| 	:help quote: | 	:help quote: | ||||||
|  |  | ||||||
| 13) Vim Script is available at > | 13) Vim Script is available at > | ||||||
| 	:help eval.txt | 	:help vimeval.txt | ||||||
| <   Certain aspects of the language are available at :h expr-X where "X" is a | <   Certain aspects of the language are available at :h expr-X where "X" is a | ||||||
|    single letter. E.g.  > |    single letter. E.g.  > | ||||||
| 	:help expr-! | 	:help expr-! | ||||||
| @@ -660,10 +646,13 @@ Summary:					*help-summary*  > | |||||||
|     command switch of Vim use: > |     command switch of Vim use: > | ||||||
| 	:help -f | 	:help -f | ||||||
|  |  | ||||||
| 24) Optional features always start with "+".  To find out about the | 24) Lua language and Nvim's Lua standard library are available at >vim | ||||||
|     conceal feature use: > | 	:help lua.txt | ||||||
| 	:help +conceal | <    Guide to using Lua in Nvim is available at >vim | ||||||
|  | 	:help lua-guide.txt | ||||||
|  | <    Lua 5.1 reference manual is available at >vim | ||||||
|  | 	:help luaref.txt | ||||||
|  | < | ||||||
| 25) Documentation for included filetype specific functionality is usually | 25) Documentation for included filetype specific functionality is usually | ||||||
|     available  in the form ft-<filetype>-<functionality>.  So > |     available  in the form ft-<filetype>-<functionality>.  So > | ||||||
| 	:help ft-c-syntax | 	:help ft-c-syntax | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Phạm Bình An
					Phạm Bình An