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