usr_toc.txt 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. *usr_toc.txt* For Vim version 9.0. Last change: 2022 Jun 20
  2. VIM USER MANUAL - by Bram Moolenaar
  3. Table Of Contents *user-manual*
  4. ==============================================================================
  5. Overview ~
  6. Getting Started ~
  7. |usr_01.txt| About the manuals
  8. |usr_02.txt| The first steps in Vim
  9. |usr_03.txt| Moving around
  10. |usr_04.txt| Making small changes
  11. |usr_05.txt| Set your settings
  12. |usr_06.txt| Using syntax highlighting
  13. |usr_07.txt| Editing more than one file
  14. |usr_08.txt| Splitting windows
  15. |usr_09.txt| Using the GUI
  16. |usr_10.txt| Making big changes
  17. |usr_11.txt| Recovering from a crash
  18. |usr_12.txt| Clever tricks
  19. Editing Effectively ~
  20. |usr_20.txt| Typing command-line commands quickly
  21. |usr_21.txt| Go away and come back
  22. |usr_22.txt| Finding the file to edit
  23. |usr_23.txt| Editing other files
  24. |usr_24.txt| Inserting quickly
  25. |usr_25.txt| Editing formatted text
  26. |usr_26.txt| Repeating
  27. |usr_27.txt| Search commands and patterns
  28. |usr_28.txt| Folding
  29. |usr_29.txt| Moving through programs
  30. |usr_30.txt| Editing programs
  31. |usr_31.txt| Exploiting the GUI
  32. |usr_32.txt| The undo tree
  33. Tuning Vim ~
  34. |usr_40.txt| Make new commands
  35. |usr_41.txt| Write a Vim script
  36. |usr_42.txt| Add new menus
  37. |usr_43.txt| Using filetypes
  38. |usr_44.txt| Your own syntax highlighted
  39. |usr_45.txt| Select your language (locale)
  40. Writing Vim script ~
  41. |usr_50.txt| Advanced Vim script writing
  42. |usr_51.txt| Write plugins
  43. |usr_52.txt| Write larger plugins
  44. Making Vim Run ~
  45. |usr_90.txt| Installing Vim
  46. Reference manual ~
  47. |reference_toc| More detailed information for all commands
  48. The user manual (an older version) is available as a single, ready to print
  49. HTML and PDF file here:
  50. http://vimdoc.sf.net
  51. ==============================================================================
  52. Getting Started ~
  53. Read this from start to end to learn the essential commands.
  54. |usr_01.txt| About the manuals
  55. |01.1| Two manuals
  56. |01.2| Vim installed
  57. |01.3| Using the Vim tutor
  58. |01.4| Copyright
  59. |usr_02.txt| The first steps in Vim
  60. |02.1| Running Vim for the First Time
  61. |02.2| Inserting text
  62. |02.3| Moving around
  63. |02.4| Deleting characters
  64. |02.5| Undo and Redo
  65. |02.6| Other editing commands
  66. |02.7| Getting out
  67. |02.8| Finding help
  68. |usr_03.txt| Moving around
  69. |03.1| Word movement
  70. |03.2| Moving to the start or end of a line
  71. |03.3| Moving to a character
  72. |03.4| Matching a paren
  73. |03.5| Moving to a specific line
  74. |03.6| Telling where you are
  75. |03.7| Scrolling around
  76. |03.8| Simple searches
  77. |03.9| Simple search patterns
  78. |03.10| Using marks
  79. |usr_04.txt| Making small changes
  80. |04.1| Operators and motions
  81. |04.2| Changing text
  82. |04.3| Repeating a change
  83. |04.4| Visual mode
  84. |04.5| Moving text
  85. |04.6| Copying text
  86. |04.7| Using the clipboard
  87. |04.8| Text objects
  88. |04.9| Replace mode
  89. |04.10| Conclusion
  90. |usr_05.txt| Set your settings
  91. |05.1| The vimrc file
  92. |05.2| The example vimrc file explained
  93. |05.3| The defaults.vim file explained
  94. |05.4| Simple mappings
  95. |05.5| Adding a package
  96. |05.6| Adding a plugin
  97. |05.7| Adding a help file
  98. |05.8| The option window
  99. |05.9| Often used options
  100. |usr_06.txt| Using syntax highlighting
  101. |06.1| Switching it on
  102. |06.2| No or wrong colors?
  103. |06.3| Different colors
  104. |06.4| With colors or without colors
  105. |06.5| Printing with colors
  106. |06.6| Further reading
  107. |usr_07.txt| Editing more than one file
  108. |07.1| Edit another file
  109. |07.2| A list of files
  110. |07.3| Jumping from file to file
  111. |07.4| Backup files
  112. |07.5| Copy text between files
  113. |07.6| Viewing a file
  114. |07.7| Changing the file name
  115. |usr_08.txt| Splitting windows
  116. |08.1| Split a window
  117. |08.2| Split a window on another file
  118. |08.3| Window size
  119. |08.4| Vertical splits
  120. |08.5| Moving windows
  121. |08.6| Commands for all windows
  122. |08.7| Viewing differences with vimdiff
  123. |08.8| Various
  124. |usr_09.txt| Using the GUI
  125. |09.1| Parts of the GUI
  126. |09.2| Using the mouse
  127. |09.3| The clipboard
  128. |09.4| Select mode
  129. |usr_10.txt| Making big changes
  130. |10.1| Record and playback commands
  131. |10.2| Substitution
  132. |10.3| Command ranges
  133. |10.4| The global command
  134. |10.5| Visual block mode
  135. |10.6| Reading and writing part of a file
  136. |10.7| Formatting text
  137. |10.8| Changing case
  138. |10.9| Using an external program
  139. |usr_11.txt| Recovering from a crash
  140. |11.1| Basic recovery
  141. |11.2| Where is the swap file?
  142. |11.3| Crashed or not?
  143. |11.4| Further reading
  144. |usr_12.txt| Clever tricks
  145. |12.1| Replace a word
  146. |12.2| Change "Last, First" to "First Last"
  147. |12.3| Sort a list
  148. |12.4| Reverse line order
  149. |12.5| Count words
  150. |12.6| Find a man page
  151. |12.7| Trim blanks
  152. |12.8| Find where a word is used
  153. ==============================================================================
  154. Editing Effectively ~
  155. Subjects that can be read independently.
  156. |usr_20.txt| Typing command-line commands quickly
  157. |20.1| Command line editing
  158. |20.2| Command line abbreviations
  159. |20.3| Command line completion
  160. |20.4| Command line history
  161. |20.5| Command line window
  162. |usr_21.txt| Go away and come back
  163. |21.1| Suspend and resume
  164. |21.2| Executing shell commands
  165. |21.3| Remembering information; viminfo
  166. |21.4| Sessions
  167. |21.5| Views
  168. |21.6| Modelines
  169. |usr_22.txt| Finding the file to edit
  170. |22.1| The file explorer
  171. |22.2| The current directory
  172. |22.3| Finding a file
  173. |22.4| The buffer list
  174. |usr_23.txt| Editing other files
  175. |23.1| DOS, Mac and Unix files
  176. |23.2| Files on the internet
  177. |23.3| Encryption
  178. |23.4| Binary files
  179. |23.5| Compressed files
  180. |usr_24.txt| Inserting quickly
  181. |24.1| Making corrections
  182. |24.2| Showing matches
  183. |24.3| Completion
  184. |24.4| Repeating an insert
  185. |24.5| Copying from another line
  186. |24.6| Inserting a register
  187. |24.7| Abbreviations
  188. |24.8| Entering special characters
  189. |24.9| Digraphs
  190. |24.10| Normal mode commands
  191. |usr_25.txt| Editing formatted text
  192. |25.1| Breaking lines
  193. |25.2| Aligning text
  194. |25.3| Indents and tabs
  195. |25.4| Dealing with long lines
  196. |25.5| Editing tables
  197. |usr_26.txt| Repeating
  198. |26.1| Repeating with Visual mode
  199. |26.2| Add and subtract
  200. |26.3| Making a change in many files
  201. |26.4| Using Vim from a shell script
  202. |usr_27.txt| Search commands and patterns
  203. |27.1| Ignoring case
  204. |27.2| Wrapping around the file end
  205. |27.3| Offsets
  206. |27.4| Matching multiple times
  207. |27.5| Alternatives
  208. |27.6| Character ranges
  209. |27.7| Character classes
  210. |27.8| Matching a line break
  211. |27.9| Examples
  212. |usr_28.txt| Folding
  213. |28.1| What is folding?
  214. |28.2| Manual folding
  215. |28.3| Working with folds
  216. |28.4| Saving and restoring folds
  217. |28.5| Folding by indent
  218. |28.6| Folding with markers
  219. |28.7| Folding by syntax
  220. |28.8| Folding by expression
  221. |28.9| Folding unchanged lines
  222. |28.10| Which fold method to use?
  223. |usr_29.txt| Moving through programs
  224. |29.1| Using tags
  225. |29.2| The preview window
  226. |29.3| Moving through a program
  227. |29.4| Finding global identifiers
  228. |29.5| Finding local identifiers
  229. |usr_30.txt| Editing programs
  230. |30.1| Compiling
  231. |30.2| Indenting C files
  232. |30.3| Automatic indenting
  233. |30.4| Other indenting
  234. |30.5| Tabs and spaces
  235. |30.6| Formatting comments
  236. |usr_31.txt| Exploiting the GUI
  237. |31.1| The file browser
  238. |31.2| Confirmation
  239. |31.3| Menu shortcuts
  240. |31.4| Vim window position and size
  241. |31.5| Various
  242. |usr_32.txt| The undo tree
  243. |32.1| Undo up to a file write
  244. |32.2| Numbering changes
  245. |32.3| Jumping around the tree
  246. |32.4| Time travelling
  247. ==============================================================================
  248. Tuning Vim ~
  249. Make Vim work as you like it.
  250. |usr_40.txt| Make new commands
  251. |40.1| Key mapping
  252. |40.2| Defining command-line commands
  253. |40.3| Autocommands
  254. |usr_41.txt| Write a Vim script
  255. |41.1| Introduction
  256. |41.2| Variables
  257. |41.3| Expressions
  258. |41.4| Conditionals
  259. |41.5| Executing an expression
  260. |41.6| Using functions
  261. |41.7| Defining a function
  262. |41.8| Lists and Dictionaries
  263. |41.9| White space
  264. |41.10| Line continuation
  265. |41.11| Comments
  266. |41.12| Fileformat
  267. |usr_42.txt| Add new menus
  268. |42.1| Introduction
  269. |42.2| Menu commands
  270. |42.3| Various
  271. |42.4| Toolbar and popup menus
  272. |usr_43.txt| Using filetypes
  273. |43.1| Plugins for a filetype
  274. |43.2| Adding a filetype
  275. |usr_44.txt| Your own syntax highlighted
  276. |44.1| Basic syntax commands
  277. |44.2| Keywords
  278. |44.3| Matches
  279. |44.4| Regions
  280. |44.5| Nested items
  281. |44.6| Following groups
  282. |44.7| Other arguments
  283. |44.8| Clusters
  284. |44.9| Including another syntax file
  285. |44.10| Synchronizing
  286. |44.11| Installing a syntax file
  287. |44.12| Portable syntax file layout
  288. |usr_45.txt| Select your language (locale)
  289. |45.1| Language for Messages
  290. |45.2| Language for Menus
  291. |45.3| Using another encoding
  292. |45.4| Editing files with a different encoding
  293. |45.5| Entering language text
  294. ==============================================================================
  295. Writing Vim script ~
  296. |usr_50.txt| Advanced Vim script writing
  297. |50.1| Exceptions
  298. |50.2| Function with variable number of arguments
  299. |50.3| Restoring the view
  300. |usr_51.txt| Write plugins
  301. |51.1| Writing a generic plugin
  302. |51.2| Writing a filetype plugin
  303. |51.3| Writing a compiler plugin
  304. |51.4| Distributing Vim scripts
  305. |usr_52.txt| Write larger plugins
  306. |52.1| Export and import
  307. |52.2| Autoloading
  308. |52.3| Autoloading without import/export
  309. |52.4| Other mechanisms to use
  310. |52.5| Using a Vim9 script from legacy script
  311. ==============================================================================
  312. Making Vim Run ~
  313. Before you can use Vim.
  314. |usr_90.txt| Installing Vim
  315. |90.1| Unix
  316. |90.2| MS-Windows
  317. |90.3| Upgrading
  318. |90.4| Common installation issues
  319. |90.5| Uninstalling Vim
  320. ==============================================================================
  321. Copyright: see |manual-copyright| vim:tw=78:ts=8:noet:ft=help:norl: