diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
commit | c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97 (patch) | |
tree | 5211ea86daed8e43c3dd25458e808c3d32100097 /runtime/doc/usr_30.txt | |
parent | 9aae141a6bcfc26bcce352deb8bf34566a3e1be2 (diff) | |
download | vim-git-c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97.tar.gz |
updated for version 7.1a
Diffstat (limited to 'runtime/doc/usr_30.txt')
-rw-r--r-- | runtime/doc/usr_30.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/usr_30.txt b/runtime/doc/usr_30.txt index 4e76b3dcb..ca8cbab39 100644 --- a/runtime/doc/usr_30.txt +++ b/runtime/doc/usr_30.txt @@ -1,4 +1,4 @@ -*usr_30.txt* For Vim version 7.0. Last change: 2006 Apr 24 +*usr_30.txt* For Vim version 7.1a. Last change: 2007 Apr 22 VIM USER MANUAL - by Bram Moolenaar @@ -50,7 +50,7 @@ like this: 2 returned ~ "main.c" 11L, 111C ~ (3 of 6): too many arguments to function 'do_sub' ~ - Hit ENTER or type command to continue ~ + Press ENTER or type command to continue ~ From this you can see that you have errors in the file "main.c". When you press <Enter>, Vim displays the file "main.c", with the cursor positioned on @@ -148,7 +148,7 @@ More about these modifiers here: |filename-modifiers|. OLD ERROR LISTS -Suppose you ":make" a program. There is an warning message in one file and an +Suppose you ":make" a program. There is a warning message in one file and an error message in another. You fix the error and use ":make" again to check if it was really fixed. Now you want to look at the warning message. It doesn't show up in the last error list, since the file with the warning wasn't @@ -242,7 +242,7 @@ form is: > This indents the current line. Like with all operators, there are three ways to use it. In Visual mode "=" indents the selected lines. A useful text object is "a{". This selects the current {} block. Thus, to re-indent the -code code block the cursor is in: > +code block the cursor is in: > =a{ @@ -315,7 +315,7 @@ In this file the output is: filetype=help ~ -This you would use "help" for {filetype}. +Thus you would use "help" for {filetype}. For the {directory} part you need to use your runtime directory. Look at the output of this command: > @@ -339,7 +339,7 @@ How to do that is explained here: |indent-expression|. The most simple form of automatic indenting is with the 'autoindent' option. It uses the indent from the previous line. A bit smarter is the 'smartindent' option. This is useful for languages where no indent file is available. -'smartindent'is not as smart as 'cindent', but smarter than 'autoindent'. +'smartindent' is not as smart as 'cindent', but smarter than 'autoindent'. With 'smartindent' set, an extra level of indentation is added for each { and removed for each }. An extra level of indentation will also be added for any of the words in the 'cinwords' option. Lines that begin with # are |