Lines Matching refs:in

18 Switching screens in an xterm			|xterm-screens|
19 Scrolling in Insert mode |scroll-insert|
25 Change a name in multiple files |change-name|
29 Executing shell commands in a window |shell-window|
31 Using <> notation in autocommands |autocmd-<>|
33 Opening help in the current window |help-curwin|
38 There are quite a few features in Vim to help you edit C program files. Here
41 |usr_29.txt| Moving through programs chapter in the user manual.
42 |usr_30.txt| Editing programs chapter in the user manual.
49 |[i| Search for identifier under cursor in current and
52 |[I| List all lines in current and included files where
54 |[d| Search for define under cursor in current and included
87 the places where a function or variable is being used. This is possible in
90 but can be slow (it reads all files) and only searches in one directory.
91 2. Using ID utils. This is fast and works in multiple directories. It uses a
100 - An identifier database file called "ID" in the current directory. You can
103 Put this in your .vimrc: >
115 that contains the word. Search for the next occurrence of the word in the
124 Switching screens in an xterm *xterm-screens* *xterm-save-screen*
126 (From comp.editors, by Juergen Weigert, in reply to a question)
131 :> ie. no longer in the scrolling buffer. I know that there is a way to
142 the programs in question one uses terminfo and the other uses termcap
157 Compare your xterm termcap entry (found in /etc/termcap) with your xterm
165 NOTE 1: If you recompile Vim with FEAT_XTERM_SAVE defined in feature.h, the
173 Scrolling in Insert mode *scroll-insert*
175 If you are in insert mode and you want to see something that is just off the
182 (Type this literally, make sure the '<' flag is not in 'cpoptions').
188 height, the cursor will always be in the middle and the text is scrolled when
198 (Type this literally, make sure the '<' flag is not in 'cpoptions').
203 When there are a few words that you keep on typing in the wrong way, make
211 To count how often any pattern occurs in the current buffer use the substitute
224 An alternative is using |v_g_CTRL-G| in Visual mode.
226 If you want to find matches in multiple files use |:vimgrep|.
240 Sometimes you want to write a mapping that makes a change somewhere in the
242 example, to change the date mark in a file: >
246 ms store cursor position in the 's' mark
247 H go to the first line in the window
248 mt store this position in the 't' mark
260 Say I have a directory with the following files in them (directory picked at
277 Change a name in multiple files *change-name*
279 Example for using a script file to change a name in several files:
313 Another way is to include the "-f" flag in the 'shell' option, e.g.: >
317 (the backslash is needed to include the space in the option).
329 a mark, instead of going to the first non-blank character in the line.
369 CTRL-W. You can copy/paste this into Vim if '<' is not included in
406 when they are not in the same location as the compressed "doc" directory. See
410 Executing shell commands in a window *shell-window*
445 Using <> notation in autocommands *autocmd-<>*
447 The <> notation is not recognized in the argument of an :autocmd. To avoid
454 " 1. use a line in the buffer to convert the 'dots' in the file name to \.
455 " 2. store that in register '"'
479 - using |synID()| to detect whether the cursor is in a string or comment
481 - using a |pattern| to match a specific position in the file.
483 This should be put in a Vim script file, since it uses script-local variables.
484 It skips matches in strings or comments, unless the cursor started in string
487 A slightly more advanced version is used in the |matchparen| plugin.
535 Opening help in the current window *help-curwin*
537 By default, help is displayed in a split window. If you prefer it opens in