*help.txt* For Vim version 6.1. Last change: 2001 Sep 14
VIM - main help file
k
Move around: Use the cursor keys, or "h" to go left, h l
"j" to go down, "k" to go up, "l" to go right. j
Close this window: Use ":q<Enter>".
Get out of Vim: Use ":qa!<Enter>" (careful, all changes are lost!).
Jump to a subject: Position the cursor on a tag between |bars| and hit CTRL-].
With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI).
Double-click the left mouse button on a tag between |bars|.
jump back: Type CTRL-T or CTRL-O (repeat to go further back).
Get specific help: It is possible to go directly to whatever you want help
on, by giving an argument to the ":help" command |:help|.
It is possible to further specify the context:
*help-context* WHAT PREPEND EXAMPLE
Normal mode commands (nothing) :help x
Visual mode commands v_ :help v_u
Insert mode commands i_ :help i_<Esc>
Command-line commands : :help :quit
Command-line editing c_ :help c_<Del>
Vim command arguments - :help -r
options ' :help 'textwidth'
Search for help: Type ":help word", then hit CTRL-D to see matching
help entries for "word".
VIM stands for Vi IMproved. Most of VIM was made by Bram Moolenaar, but only
through the help of many others. See |credits|.
*doc-file-list**Q_ct*
BASIC:
|quickref| Overview of the most common commands you will use
|tutor| 30 minutes training course for beginners
|copying| About copyrights
|iccf| Helping poor children in Uganda
|www| Vim on the World Wide Web
|bugs| Where to send bug reports
USER MANUAL: These files explain how to accomplish an editing task.
|usr_toc| Table Of Contents
Getting Started
|usr_01| About the manuals
|usr_02| The first steps in Vim
|usr_03| Moving around
|usr_04| Making small changes
|usr_05| Set your settings
|usr_06| Using syntax highlighting
|usr_07| Editing more than one file
|usr_08| Splitting windows
|usr_09| Using the GUI
|usr_10| Making big changes
|usr_11| Recovering from a crash
|usr_12| Clever tricks
Editing Effectively
|usr_20| Typing command-line commands quickly
|usr_21| Go away and come back
|usr_22| Finding the file to edit
|usr_23| Editing other files
|usr_24| Inserting quickly
|usr_25| Editing formatted text
|usr_26| Repeating
|usr_27| Search commands and patterns
|usr_28| Folding
|usr_29| Moving through programs
|usr_30| Editing programs
|usr_31| Exploiting the GUI
Tuning Vim
|usr_40| Make new commands
|usr_41| Write a Vim script
|usr_42| Add new menus
|usr_43| Using filetypes
|usr_44| Your own syntax highlighted
|usr_45| Select your language
Making Vim Run
|usr_90| Installing Vim
REFERENCE MANUAL: These files explain every detail of Vim.
General subjects
|intro| general introduction to Vim; notation used in help files
|help| overview and quick reference (this file)
|index| alphabetical index of all commands
|help-tags| all the tags you can jump to (index of tags)
|howto| how to do the most common editing tasks
|tips| various tips on using Vim
|message| (error) messages and explanations
|quotes| remarks from users of Vim
|todo| known problems and desired extensions
|develop| development of Vim
|uganda| Vim distribution conditions and what to do with your money
Basic editing
|starting| starting Vim, Vim command arguments, initialisation
|editing| editing and writing files
|motion| commands for moving around
|scroll| scrolling the text in the window
|insert| Insert and Replace mode
|change| deleting and replacing text
|indent| automatic indenting for C and other languages
|undo| Undo and Redo
|repeat| repeating commands, Vim scripts and debugging
|visual| using the Visual mode (selecting a text area)
|various| various remaining commands
|recover| recovering from a crash
Advanced editing
|cmdline| Command-line editing
|options| description of all options
|pattern| regexp patterns and search commands
|map| key mapping and abbreviations
|tagsrch| tags and special searches
|quickfix| commands for a quick edit-compile-fix cycle
|windows| commands for using multiple windows and buffers
|syntax| syntax highlighting
|diff| working with two or three versions of the same file
|autocmd| automatically executing commands on an event
|filetype| settings done specifically for a type of file
|eval| expression evaluation, conditional commands
|fold| hide (fold) ranges of lines
Special issues
|remote| using Vim as a server or client
|term| using different terminals and mice
|digraph| list of available digraphs
|mbyte| multi-byte text support
|mlang| non-English language support
|farsi| Farsi (Persian) editing
|hangulin| Hangul (Korean) input mode
|rileft| right-to-left editing
GUI
|gui| Graphical User Interface (GUI)
|gui_w16| Windows 3.1 GUI
|gui_w32| Win32 GUI
|gui_x11| X11 GUI
Interfaces
|if_cscop| using cscope with Vim
|if_perl| Perl interface
|if_pyth| Python interface
|if_sniff| SNiFF+ interface
|if_tcl| Tcl interface
|if_ole| OLE automation interface for Win32
|if_ruby| Ruby interface
|debugger| Interface with a debugger
|workshop| Sun Visual Workshop interface
|sign| debugging signs
Versions
|vi_diff| main differences between Vim and Vi
|version4| differences between Vim version 3.0 and 4.x
|version5| differences between Vim version 4.6 and 5.x
|version6| differences between Vim version 5.7 and 6.x
*sys-file-list*Remarks about specific systems
|os_390| OS/390 Unix
|os_amiga| Amiga
|os_beos| BeOS and BeBox
|os_dos| MS-DOS and MS-Windows NT/95 common items
|os_mac| Macintosh
|os_mint| Atari MiNT
|os_msdos| MS-DOS (plain DOS and DOS box under Windows)
|os_os2| OS/2
|os_qnx| QNX
|os_risc| RISC-OS
|os_unix| Unix
|os_vms| VMS
|os_win32| MS-Windows 95/98/NT
Standard plugins *standard-plugin-list*
|pi_netrw| Reading and writing files over a network
|pi_gzip| Reading and writing compressed files
|pi_expl| File explorer
LOCAL ADDITIONS:
*bars* Bars example
Now that you've jumped here with CTRL-] or a double mouse click, you can use
CTRL-T, CTRL-O, g<RightMouse>, or <C-RightMouse> to go back to where you were.