codekingpro/portable-devtools
114k
1*help.txt* For Vim version 9.2. Last change: 2026 Feb 142 3 VIM - main help file4 k5 Move around: Use the cursor keys, or "h" to go left, h l6 "j" to go down, "k" to go up, "l" to go right. j7Close this window: Use ":q<Enter>".8 Get out of Vim: Use ":qa!<Enter>" (careful, all changes are lost!).9 10Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].11 With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI).12 Double-click the left mouse button on a tag, e.g. |bars|.13 Jump back: Type CTRL-O. Repeat to go further back.14 15Get specific help: It is possible to go directly to whatever you want help16 on, by giving an argument to the |:help| command.17 Prepend something to specify the context: *help-context*18 19 WHAT PREPEND EXAMPLE ~20 Normal mode command :help x21 Visual mode command v_ :help v_u22 Insert mode command i_ :help i_<Esc>23 Command-line command : :help :quit24 Command-line editing c_ :help c_<Del>25 Vim command argument - :help -r26 Option ' :help 'textwidth'27 Regular expression / :help /[28 See |help-summary| for more contexts and an explanation.29 See |notation| for an explanation of the help syntax.30 31 Search for help: Type ":help word", then hit CTRL-D to see matching32 help entries for "word".33 Or use ":helpgrep word". |:helpgrep|34 35 Getting started: Do the Vim tutor, a 30-minute interactive course for the36 basic commands, see |vimtutor|.37 Read the user manual from start to end: |usr_01.txt|38 39Vim stands for Vi IMproved. Most of Vim was made by Bram Moolenaar, but only40through the help of many others. See |credits|.41------------------------------------------------------------------------------42 *doc-file-list* *Q_ct*43BASIC:44|quickref| Overview of the most common commands you will use45|tutor| 30-minute interactive course for beginners46|copying| About copyrights47|Kuwasha| Helping poor children in Uganda48|sponsor| Sponsor Vim development, become a registered Vim user49|www| Vim on the World Wide Web50|bugs| Where to send bug reports51 52USER MANUAL: These files explain how to accomplish an editing task.53 54|usr_toc.txt| Table Of Contents55 56Getting Started ~57|usr_01.txt| About the manuals58|usr_02.txt| The first steps in Vim59|usr_03.txt| Moving around60|usr_04.txt| Making small changes61|usr_05.txt| Set your settings62|usr_06.txt| Using syntax highlighting63|usr_07.txt| Editing more than one file64|usr_08.txt| Splitting windows65|usr_09.txt| Using the GUI66|usr_10.txt| Making big changes67|usr_11.txt| Recovering from a crash68|usr_12.txt| Clever tricks69 70Editing Effectively ~71|usr_20.txt| Typing command-line commands quickly72|usr_21.txt| Go away and come back73|usr_22.txt| Finding the file to edit74|usr_23.txt| Editing other files75|usr_24.txt| Inserting quickly76|usr_25.txt| Editing formatted text77|usr_26.txt| Repeating78|usr_27.txt| Search commands and patterns79|usr_28.txt| Folding80|usr_29.txt| Moving through programs81|usr_30.txt| Editing programs82|usr_31.txt| Exploiting the GUI83|usr_32.txt| The undo tree84 85Tuning Vim ~86|usr_40.txt| Make new commands87|usr_41.txt| Write a Vim script88|usr_42.txt| Add new menus89|usr_43.txt| Using filetypes90|usr_44.txt| Your own syntax highlighted91|usr_45.txt| Select your language92 93Writing Vim scripts ~94|usr_50.txt| Advanced Vim script writing95|usr_51.txt| Create a plugin96|usr_52.txt| Write plugins using Vim9 script97 98Making Vim Run ~99|usr_90.txt| Installing Vim100 101REFERENCE MANUAL: These files explain every detail of Vim. *reference_toc*102 103General subjects ~104|intro.txt| general introduction to Vim; notation used in help files105|help.txt| overview and quick reference (this file)106|helphelp.txt| about using the help files107|index.txt| alphabetical index of all commands108|help-tags| all the tags you can jump to (index of tags)109|howto.txt| how to do the most common editing tasks110|tips.txt| various tips on using Vim111|message.txt| (error) messages and explanations112|quotes.txt| remarks from users of Vim113|todo.txt| known problems and desired extensions114|develop.txt| development of Vim115|debug.txt| debugging Vim itself116|uganda.txt| Vim distribution conditions and what to do with your money117 118Basic editing ~119|starting.txt| starting Vim, Vim command arguments, initialisation120|editing.txt| editing and writing files121|motion.txt| commands for moving around122|scroll.txt| scrolling the text in the window123|insert.txt| Insert and Replace mode124|change.txt| deleting and replacing text125|undo.txt| Undo and Redo126|repeat.txt| repeating commands, Vim scripts and debugging127|visual.txt| using the Visual mode (selecting a text area)128|various.txt| various remaining commands129|recover.txt| recovering from a crash130 131Advanced editing ~132|cmdline.txt| Command-line editing133|options.txt| description of all options134|pattern.txt| regexp patterns and search commands135|map.txt| key mapping and abbreviations136|tagsrch.txt| tags and special searches137|windows.txt| commands for using multiple windows and buffers138|tabpage.txt| commands for using multiple tab pages139|spell.txt| spell checking140|diff.txt| working with two to eight versions of the same file141|autocmd.txt| automatically executing commands on an event142|eval.txt| expression evaluation, conditional commands143|builtin.txt| builtin functions144|userfunc.txt| defining user functions145|channel.txt| Jobs, Channels, inter-process communication146|fold.txt| hide (fold) ranges of lines147 148Special issues ~149|testing.txt| testing Vim and Vim scripts150|print.txt| printing151|remote.txt| using Vim as a server or client152|term.txt| using different terminals and mice153|terminal.txt| Terminal window support154|popup.txt| popup window support155|vim9.txt| using Vim9 script156|vim9class.txt| using Vim9 script classes157 158Programming language support ~159|indent.txt| automatic indenting for C and other languages160|syntax.txt| syntax highlighting161|textprop.txt| Attaching properties to text for highlighting or other162|filetype.txt| settings done specifically for a type of file163|quickfix.txt| commands for a quick edit-compile-fix cycle164|ft_ada.txt| Ada (the programming language) support165|ft_context.txt| Filetype plugin for ConTeXt166|ft_hare.txt| Filetype plugin for Hare167|ft_mp.txt| Filetype plugin for METAFONT and MetaPost168|ft_ps1.txt| Filetype plugin for Windows PowerShell169|ft_raku.txt| Filetype plugin for Raku170|ft_rust.txt| Filetype plugin for Rust171|ft_sql.txt| about the SQL filetype plugin172 173Language support ~174|digraph.txt| list of available digraphs175|mbyte.txt| multibyte text support176|mlang.txt| non-English language support177|rileft.txt| right-to-left editing mode178|arabic.txt| Arabic language support and editing179|farsi.txt| Farsi (Persian) editing180|hebrew.txt| Hebrew language support and editing181|russian.txt| Russian language support and editing182|hangulin.txt| Hangul (Korean) input mode183|vietnamese.txt| Vietnamese language support and editing184 185GUI ~186|gui.txt| Graphical User Interface (GUI)187|gui_w32.txt| Win32 GUI188|gui_x11.txt| X11 GUI189 190System Integration ~191|wayland.txt| Wayland protocol support192 193Interfaces ~194|if_cscop.txt| using Cscope with Vim195|if_lua.txt| Lua interface196|if_mzsch.txt| MzScheme interface197|if_perl.txt| Perl interface198|if_pyth.txt| Python interface199|if_tcl.txt| Tcl interface200|if_ole.txt| OLE automation interface for Win32201|if_ruby.txt| Ruby interface202|debugger.txt| Interface with a debugger203|netbeans.txt| NetBeans External Editor interface204|sign.txt| debugging signs205 206Versions ~207|vi_diff.txt| Main differences between Vim and Vi208|version4.txt| Differences between Vim version 3.0 and 4.x209|version5.txt| Differences between Vim version 4.6 and 5.x210|version6.txt| Differences between Vim version 5.7 and 6.x211|version7.txt| Differences between Vim version 6.4 and 7.x212|version8.txt| Differences between Vim version 7.4 and 8.x213|version9.txt| Differences between Vim version 8.2 and 9.0214 *sys-file-list*215Remarks about specific systems ~216|os_390.txt| OS/390 Unix217|os_amiga.txt| Amiga218|os_beos.txt| BeOS and BeBox219|os_dos.txt| MS-DOS and MS-Windows common items220|os_haiku.txt| Haiku221|os_mac.txt| Macintosh222|os_mint.txt| Atari MiNT223|os_msdos.txt| MS-DOS (plain DOS and DOS box under Windows)224|os_os2.txt| OS/2225|os_qnx.txt| QNX226|os_risc.txt| RISC-OS227|os_unix.txt| Unix228|os_vms.txt| VMS229|os_win32.txt| MS-Windows230 *standard-plugin-list*231Standard plugins ~232|pi_getscript.txt| Downloading latest version of Vim scripts233|pi_gzip.txt| Reading and writing compressed files234|pi_logipat.txt| Logical operators on patterns235|pi_netrw.txt| Reading and writing files over a network236|pi_paren.txt| Highlight matching parens237|pi_spec.txt| Filetype plugin to work with rpm spec files238|pi_tar.txt| Tar file explorer239|pi_tutor.txt| Interactive tutorial for Vim240|pi_vimball.txt| Create a self-installing Vim script241|pi_zip.txt| Zip archive explorer242 243LOCAL ADDITIONS: *local-additions*244 245------------------------------------------------------------------------------246*bars* Bars example247 248Now that you've jumped here with CTRL-] or a double mouse click, you can use249CTRL-T, CTRL-O, g<RightMouse>, or <C-RightMouse> to go back to where you were.250 251Note that tags are within | characters, but when highlighting is enabled these252characters are hidden. That makes it easier to read a command.253 254Anyway, you can use CTRL-] on any word, also when it is not within |, and Vim255will try to find help for it. Especially for options in single quotes, e.g.256'compatible'.257 258------------------------------------------------------------------------------259 vim:tw=78:isk=!-~,^*,^\|,^\":ts=8:noet:ft=help:norl:260 