|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
(Advice) on the TAB installed VI Editor : : : :
In accordance with the procedures under UNIX write TAB键 always take eight ballots
Annoying : : : evil :
: Oops : : oops : Which boss can tell me how it is set up into four
: Cry : : cry : : cry : : cry : : cry : : cry :
I pity the poor bar : : : : : : |
(Advice) on the TAB installed VI Editor : : : :
: Set tabstop=4 |
(Advice) on the TAB installed VI Editor : : : :
| (Advice) on the TAB installed VI Editor : : : :
Now you have to amend the list of users. Vimrc increase set tabstop=4 |
(Advice) on the TAB installed VI Editor : : : :
Forget that
My system is SCO
Not inside. Vimrc documents : :
How what I do : : |
(Advice) on the TAB installed VI Editor : : : :
1, entered vim thalamotomy
Set :
------- ------- Options
Cindent scroll=11 tabstop=5 ttymouse=xterm
Modified shiftwidth=5 ttyfast
Hit Enter or type command to continue
You set up the parameters of the current show acquiescence.
2, in which vim thalamotomy
All set :
All the parameters showed vim thalamotomy option.
Three, if we want to maintain a permanent vim thalamotomy installed customer environment, the user-defined function Acer vim thalamotomy and healthy, then edit documents. Exrc.
4, vim thalamotomy in the search. Exrc environmental document for the following order :
Current catalog
Contents higher
${HOME} Contents
If they can not find a document. Exrc, then use acquiescence installed. So to let you all the vim thalamotomy below the user environment using the same setup document. Exrc built on ${HOME} Now, in a separate catalog can be installed in more detail below, specific topics such vim thalamotomy the move was in line with the characteristics of this search. |
(Advice) on the TAB installed VI Editor : : : :
-->
: Lol : : lol : : lol :
MAN : ID should tell you :
Too detailed answer : :
: : Thank you
: Oops : : oops : : oops :
: : SCO system is the one I
I find on the root / -name. Exrc
Did not find the document
I VI 2 (VIM is one thing?) : Set all
Can see all the parameters
3 in the creation of a catalog. Exrc (vi. Exrc)
In his writing and tabstop=4
Then the introduction : wq
Results vi time, or 8 Na'tab'al
: Cry : : cry : : cry :
Think of a way to help another bar : :
Boss : Members : |
(Advice) on the TAB installed VI Editor : : : :
Try to set ts=4 |
(Advice) on the TAB installed VI Editor : : : :
| (Advice) on the TAB installed VI Editor : : : :
$HOME/.exrc Lane that will be included. |
(Advice) on the TAB installed VI Editor : : : :
| (Advice) on the TAB installed VI Editor : : : :
Vim thalamotomy profound, with many senior characteristics are interested, we started tan game, how? ?
I begin. . . . .
China vim thalamotomy
A name and number two buffer
1, letters from the name of Diaz
Symbol is under way "(double quotation marks)
For example : "a d 5
(Up to the beginning of the current cursor line deleted, and a buffer zone to keep China)
"Counsel
(The buffer zone will be removed above the five firms, under the complex system of the current cursor)
2, the number of buffer
From 0-9
Use and apparently the same buffer. We can test ourselves! |
(Advice) on the TAB installed VI Editor : : : :
:( :( :(
Upstairs buddy : :
VIM is dedicated Linux Eastern?
Rather, I have in my MAN on the VIM is not helping : :
I searched an information : :
We can refer to
Address information
Http://yuchuangfu.myrice.com/4.HTML
VIM Manual
VIM
Section : User Commands (1)
Updated : 28 December 1998
Index
Name
Zoning
Description
Option
Online help
Document
See
Writer
Wrong
Translator
Name
Vim thalamotomy-improved vi, a text editor for programmers
Zoning
[options] [file Vim thalamotomy. . ]
Vim thalamotomy [options] -
T tag vim thalamotomy [options]
Q [errorfile] vim thalamotomy [options]
Ex
View
Gvim gview
Rvim rview rgvim rgview
Description
Vim is a Vi upward compatibility in the text editor. Any ASCII text for editing. Particularly useful for editing source code.
And VI, VIM done quite a lot of expansion : multi-level undo, a number of windows and buffer syntax of Neurosurgery, command line editing, automatic file name completion, online help, visualization options, and so on. Vim and Vi details can be found in the distinction between "help vi_diff"
Vim in the operation, the use of "help :" orders through online help system can be a lot of help. See below LINE HELP part.
Most of the time, usable
Vim thalamotomy file
Orders to launch Vim single document editing. The more common method is to use Vim the start of this order :
Vim thalamotomy [options] [filelist]
If the lack of documentation table editor will start running an open space buffer. Otherwise, it may use the following four parameters, the editors to choose one or more documents.
File. .
Document table. As a document was read into the buffer zone. Cursor on the first line will remain in the buffer zone. Use ": next" order can be switched to the remaining documents. In front of the table with paper "--" can quickly start editing a document.
-
Need to be edited documents from the standard input (stdin). And order entry time from stderr, stderr be here as a terminal (tty).
T {tag}
The label (tag) (marker is a series of goto) in the paper and decided to compile the initial cursor position. {tag} Found on the label documents, documents related to the current document, and implement the relevant orders. In most cases, it is for C procedures, as a function of time may {tag} name. The advantages include the function of the document will become the document, but the cursor will stop at the beginning of the function. See ": help tag_commands."
Q [errorfile]
QuickFix mode to start. Reading the document [errorfile], and the result will be a mistake. [errorfile] If overlooked, file name from the 'errorfile' option gain (Amiga which default values are "AztecC.Err", in other systems "errors.vim"). Using "cn :" Jumping can show the rest of the mistake. See ": help quick-fix."
Vim according to different parameters of the order (the implementation is likely to be the same), may have different modes of implementation.
Vim thalamotomy
"Normal" mode, take the default values for all options.
Ex
Ex mode to start. "Vi :" It may be the normal mode. Also use the "- e" parameter implementation.
View
"Read-only" mode began. Document was written to protect. Also use the "R" parameter implementation.
Gvim gview
Graphics user interface, beginning a new window. Also use the "g" parameters implementation.
Rvim rview rgvim rgview
Ditto, but with restrictions. No explanation for such orders, nor touched Vim. . Also have recourse to "Z" parameters.
Option
Option can be arbitrary sequence, it could file name before or after. Without options can be combined in a single parameter of "257".
+[num]
Cursor positioning specified in the document first trip (also published). If the trip (also published) to the air, then positioning the cursor on the last trip.
+/{pat}
Positioning the cursor in a document {pat} the first place. Locate on the model, can be found ": search_pattern help."
+{command}
{command} Ones
Orders ({command}) will be followed by the first reading document. The order is as "Ex command" interpretation. If the order ({command}) contains the ballots, including the need to use double quotation marks (based on the interpretation). For example : Vim "+set si" main.c
Most use : 10 "+" or "- c" order.
- B
Binary mode. The use of the option, or executable files to provide a binary editor.
C
Compatibility mode install 'compatibility mode (compatible)' option. Even. " Vimrc "documents the circumstances, it makes Vim like Vi.
D-{device}
Opened equipment (device) as a terminal. Only for the Amiga. For example : "d-con:20/30/600/150."
- E
Ex use patterns, such as Vim, as in the implementation of Call "ex."
- F
Future models. The graphical user interface and command interpreter opened Vim not separation, the Amiga, Vim is not a new window reopened. When Vim editor has been waiting for the end of the process used for a procedure (such as mail program), has adopted the model. On the amiga. ": Sh" and ":! "An order will be null and void.
F
If adopted FKMAP Vim (from right to left using editing documents, Persian keyboard mapping) to support the translation mode, the option to make Vim Persian mode, which is set up "fkmap" and "rightleft" choice. Otherwise there will be a wrong message, Vim also will be suspended.
G
If Vim use GUI mode compiler support, the option to make effective GUI, GUI failed to support the translation mode, it will be the wrong message, Vim also will be suspended.
- H
Vim from the command line parameters and options after given some help.
H
If adopted RIGHTLEFT Vim (from right to left using editing documents, Hebrew keyboard mapping) to support the translation mode, the mode of choice makes Vim in Hebrew, is setting up a "hkmap" and "rightleft" choice. Otherwise there will be a wrong message, Vim also will be suspended.
-i {viminfo}
Viminfo documents when using the effective use of the option to use the default file name to replace the "~/.viminfo" document. Can also use the "NONE" to jump. " Viminfo "paper use.
L
And r the same.
L
Lisp mode. Take the 'lisp' and 'showmatch' options open for set up.
M
Laws prohibiting documents. Re-instated 'write' option, so that the revised document will become impossible.
N
Non-compatibility mode. Re-instated 'compatible' option. Vim will be installed this point to improve the performance, but the expense of compatibility with the VI is. Vimrc document is not the case.
N
Use exchange of documents. In accidents, not a restoration. If you are in a slow-medium (eg : software) editing documents, please keep the manual count. This parameter can also be ordered through the importation of state ": set uc=0" basis. Function in order to cancel the trip imported ": set uc=200."
-o[N]
N window opened. N, if overlooked, it opened a window for each document.
R
CD model. Will be set up 'readonly' option. You can still editing buffer, but you can not prevent coverage to documents. If you need to cover paper, an increase in orders for Ex exclamation points, such as ": w!." R option also implied n option (see below). Can use ": set noro" re-instated 'readonly' option. See ": help 'readonly'."
R
Listed on the exchange of documents, and information on them for the restoration.
R {file}
Restore mode. For the destruction of documents used to restore the editing process. For the documents in the name of the file name is added to the original document. " Swp "suffix name. See ": help recovery."
S
Quiet mode. In order to jump start the state only, or "s" parameter, add "- e" parameter.
S {scriptin}
{scription} Reading the script parameters of this document. The document was explained by the characters as you input. You can also use the order state ": source! {scription}" to set up a model. If the editor before they read the script file from the bottom, then on the editorial read from the keyboard input into the characters.
T {terminal}
Vim who told you to use the terminal. Is not only used in automatic mode. Vim aware of the use of the terminal must be built terminal, or in the terminal termcap or terminfo definition document.
U {vimrc}
{vimrc} Use this parameter to the order specified in the document initialization. Initialization other will be ignored. The option to use a special type of document editing. {vimrc} Also can be set up as "NONE" to jump all the initialization. For more details, see vim thalamotomy China ": help initialization."
U-series dating method {gvimrc}
{gvimrc} The order parameters of this document to use GUI initialization. Other GUI initialization will be bypassed. {gvimrc} Also can be set up as "NONE" to ignore all the GUI initialization. For more details, see vim thalamotomy China ": gui_init help."
- V
Redundant. What was presented as a source of the documents and sources used to read and write documents in a viminfo.
- V
Vi model to launch Vim, as enforceability of the documents in question are "vi" the same. Only in executable files called "ex" When will the impact.
W {scriptout}
You import all of the characters have been recorded in the documents {scriptout}, until you withdraw from Vim. If you want to create a script file and "vim thalamotomy s" or ": source!" use, it is the effect. If {scriptout} documents exist, and some additional characters.
W {scriptout}
Versus similar, but there has been covered in the paper.
X
Encryption was reading through the filter paper. Have not yet been realized.
Z
Restriction patterns. As is enforceable from the "r" started work.
--
Mean the end of option. This variable will be in the future to deal with a file name. This will be an editor can be used with a "-" Document began.
Online help
Input in Vim ": help" to begin. Input ": help subject" to get help in a specific subject. For example : the importation of "help ZZ" to be on the "ZZ" Order of help. Use "and CTRL-D Tab>; to complete the theme (" : help cmdline_completion "). Use labels at the Jumping from one location to another (hyperlinks types, see ": help"). All documents can use this form to file, for example ": help syntax.txt."
Document
/usr/share/vim/vim54/doc/*.txt
Vim file documents. Use ": help doc-file-list" to be a complete list.
/usr/share/vim/vim54/doc/tags
Marking papers to find a document in the file information.
/usr/share/vim/vim54/syntax/syntax.vim
Grammar extensive system initialization.
/usr/share/vim/vim54/syntax/*.vim
Language Grammar for different documents.
/usr/share/vim/vimrc
Vim the operating system initialization.
/usr/share/vim/gvimrc
Gvim scope of the operating system initialization.
/usr/share/vim/vim54/optwin.vim
For the "options :" Order the script, and a good way to see with the option installed.
/usr/share/vim/vim54/menu.vim
Gvim menu of the operating system initialization.
/usr/share/vim/vim54/bugreport.vim
Used to produce the wrong script. See ": help bugs."
/usr/share/vim/vim54/filetype.vim
Document types of documents through monitoring script. See ": help 'filetype'."
/usr/share/vim/vim54/scripts.vim
Monitoring the content of the document by document type script. See ": help 'filetype'."
VIM please read the latest news on the home page :
"URL:http://www.vim.org/>;
See
Vimtutor (1)
Writer
Vim is the most prepared by Bram Moolenaar, a lot of other people's help. See ": help credits."
Vim initially developed for Stevi to Tim Thompson, Tony Andrews and GR (Fred) Walter proper. Although almost no reservations about any of the original code.
Wrong
Very likely. On the list of known issues, see ": help todo."
Attention to the fact that some people think it is wrong to a lot of places are too loyal to the reappearance of Vi function. If you are wrong and a number of other places that "it is not the same as Vi," then you should pay more attention to see vi_diff.txt document (or inputting Vim ": help vi_diff"). Similarly look at the 'compativle' and 'cpoptions' option.
Translator
Group : Chinese translation fly2fire Linux Forum, hecaifa, Leon, midzhou, sailing, mjc and complete. Coordination, finishing head : ZEO. Proofreading : Wang.
The article Linux Forum all have ownership in this case of joint venture in China |
(Advice) on the TAB installed VI Editor : : : :
:) :) :)
VIM also an article on the use of : :
But where I can find the installation version of VIM? : :
Http://www.ta139.com/~pangty/vim-manual.htm
: Roll : roll : roll : : : : : : roll : roll : roll : roll : roll : : : : roll :
Full-screen text editing tools vim thalamotomy
Last update : 2002-09-04
--------------------------------------------------------------------------------
Wilbur Lang collected :
Introduction vim thalamotomy
Vim thalamotomy is very common in the Unix world-wide-screen text editor can almost be said that any Unix machines will provide a set of software. Familiar with the DOS version of the treatment, they may not be handy ;Unix vim thalamotomy also has developed many new and better use the text editor, but not necessarily every piece of Unix machines will be installed additional software. Therefore, in learning the basic operation of vim thalamotomy or benefit you in various machine handy.
Vim thalamotomy basic concepts
Unix with a series of ex editor, including ex, and vim thalamotomy, 1976. Comparing with the full screen editor, it may be difficult to imagine how to use ex, which ranks Editor, 1976 (also used EDLIN annexed to the previous DOS version 3.3? ). The intent is vim thalamotomy "Vi IMproved", it is a seen the editorial process, which means operators can immediately see the results.
Vim thalamotomy is also due to screen editor, so it must control the entire terminal screen where the show was about. There are many kinds and types of terminals, characteristics of different, we need to know now vim thalamotomy which is used in the terminal. This is the TERM environment variable set to set environment variables can be accessed by the use of the shell. (Unless the vim thalamotomy response unknow terminal type, or may not necessary. )
Vim thalamotomy they will be able to enter a simple implementation of vim thalamotomy editing environment. In actual operation before it would be better to have a broad understanding. Vim thalamotomy, there are two models, input mode and command model. Imported models will be used to input text, and command model were used to document issued some scheduling, filing, etc., and leave the operating instructions vim thalamotomy. When the implementation of vim thalamotomy, will first enter the command model, as characters in any direction at this time of importation.
Enter and leave
Vim thalamotomy can directly access the system vim thalamotomy cue sheet "file name" vim thalamotomy can help you automatically included in the document to be edited or open a new document. Vim thalamotomy wave will be left of the screen after entering symbols are the symbols represent all its first trip is currently empty. Vim thalamotomy in order to leave dialing mode : q : wq file is then instructed to leave (note colon). Directive to switch to the model used [ESC] is crucial, if we do not know what is in a mode [ESC] several more by the system to enter orders will be issued to identify the ringing mode.
Vim thalamotomy input mode
How to input information? There are several instructions can be imported into the model :
New (append)
A cursor location from the back additional information, additional information with the information after the cursor moved backward.
A cursor from where the trip began last face additional information.
Insert (insert)
I started to insert themselves from the cursor location information, and information with additional information after the cursor moved backward.
I lie from the cursor in front of the first non-blank space at the beginning insert information.
Begin (open)
O cursor where his trip and access to imported under the new model.
O and the cursor where firms moved into his new imported models.
Narratives may seem a little complicated, but as long as the actual operation will be able to understand what these practices. Practice is very important, especially in the computer is ready to try things and experiment. It is strongly recommended to use actual rather than just read through the document will be effective and effectiveness. (Note : this section of nonsense. )
Basic editing vim thalamotomy
General keyboard with function keys, such as the direction of bond, [Insert], [Delete] and so on, you should have a written materials can be used to deal with vim thalamotomy. Vim thalamotomy course also provide many other functions more convenient for word processing, interested Tell me what please continue.
BCC points to go before the bar. There are many brands of computer, the hardware and operating system. Only IBM PC and PC compatibility is not only goods only. In fact, keyboards, terminals, etc. often have different specifications. This represents?
Text editing software will run on such issues, some of the computer keyboard is no specific number of function keys! Then there is not certain functions can not use? Unix systems are the same in this issue, almost all major computer manufacturers have their own Unix systems, and methods of operation will also be quite different from vim thalamotomy. Of course, we can use the PC keyboard to illustrate the operation of vim thalamotomy, but you still have to mention this issue.
Amended to delete
What editors? Here we consider the additional amendments and the deletion of text, even text blocks the movement, the complex system and so on. Here, I would like to introduce to delete what to do with the revision of the vim thalamotomy. (Note : In the original concept of vim thalamotomy, with editorial input are two different things. Edited by the directive, the operation mode, the first direct use of mobile positioning editing cursor to the place before editing instructions. )
Where x cursor to delete characters.
Dd delete the cursor where the trip.
Character changes cursor where r, r followed by amendments to the characters.
R entered replace state, the additional information will be covered by the original data model until instructed by [ESC] return date.
's Cursor where delete characters, and input into the model.
S delete cursor where the trip, and the importation into the model.
Well, there is no such trouble on the PC! Editing can be imported with the completion of the import mode. For example, to delete characters directly [Delete] not a must. And the state can use the slot and replaced [Insert] handoff, the choice of what direction the edit mode. However, as mentioned earlier, each of these terminals can be used almost directive, and not just on the PC.
Cursor down-scale action in order model is the basic instructions h, j, k, l. Now, you have to come should be able to guess the direction of bond if PC can be used directly, but in order model or model can be imported. Not more easily.
Of course, PC keyboards have inadequate. Is a very good use of the directive u can restore deleted data, and U can restore order where the cursor all the changes. This [Undo] button on the computer and some of the same functions.
Advanced application of vim thalamotomy
For now believe vim thalamotomy should have a good understanding. Not have any trouble right word. If interested vim thalamotomy use of the other functions of further simplifying the operation, it may continue to see it.
Cursor movement
As many editors to work through cursor positioning, a lot of vim thalamotomy moving the cursor, we have shown in this table to illustrate several (which is under the direct command model) :
Directive
Note
Function keys
0
Cursor movement to the forefront of where
HOME
$
Cursor movement to the surface where the final
Residents
^d
Down half a page
^f
To the next month.
PageDown
^u
Upward half
^b
To the preceding page
PageUp
Directive
Note
H
The first line of Windows Mobile
M
The middle row of Windows Mobile
L
The last trip to Windows Mobile
B
Moved to the first letter of the next word
W
Moved to the first letter of the last word
E
Moving to the next letter of the last word
^
Mobile cursor to the first non-blank space at the host
Directive
Note
N
Minus moved to the first non-blank space on his website
N +
Mobile plus sign next to the box at a non -
NG
N directly with the number of mobile capital G trip to the nth
Directive
Note
Fx
Mobile characters on the right-to x
Fx
Mobile characters to the left on the x
Tx
Before moving to the right-x characters
Tx
X characters before moving to the left
;
F&t tie and the first plots
,
F&t with use of a reverse direction plots
/string
To a string of local right-Mobile
?string
Moved to the left a string of local
N
/&? Tie and the first plots
N
/&? With use of a reverse direction plots
Directive
Note
Remarks
N (
Left brackets moved to the forefront of the sentence, before moving forward with specific figures n sentence
Sentence is!.? Three symbols to define
N)
Right brackets to keep moving to the next sentence, adding digital mobile n sentence can be specified later
N{
Mobile bracketed paragraphs to the left front, can be specified by adding digital mobile n paragraphs forward
Paragraphs is that the gaps between paragraphs defining trip
N
Moving to the next phase of the right to keep the brackets, can be specified by adding digital mobile subsequent paragraphs n
Do not try to memorize the order, otherwise the consequences themselves. They seem, there were many different types, the fact that it is an obstacle to their own narratives. Like to emphasize once again that we can actually make use of it only several brain without direct instructions issued these weird than rote learning activities carried out blurry than the back. (Note : If the data is not deleted by mistake brain and has nothing to do with me. Also, this section of nonsense. )
Advanced directives Editor
These orders are flexible editing basically can be said to be posed by the scope and direction. For example dw is deleted from the scope of Directive d and w are composed of representatives of the deletion of the word d (elete) w (ord).
Instructions as follows :
D remove (delete)
Y complex system (yank)
P place (put)
C Laws (change)
Is the scope of the following :
E cursor to the location of the last letter word
W cursor location next to the first letter of the word
B location of the cursor on the first letter of words
$ Cursor to the location of the last letter
0 cursor to the location of the first letter
) Cursor location next to the first letter of the sentence
(Cursor to the location of the first letter of the sentence
) Cursor to the location of the final paragraphs of a letter
-- Cursor to the location of the first letter of the paragraph
Indeed, the combination of these directives to edit documents with a modicum of art. In any event, they provide more editing and writing ability. A point worth noting is a complex system that would delete the contents into transit zone designated area, and then they can order p affixed to other places, and copies of this section is to deal with vim thalamotomy removal approach.
Vim thalamotomy some versions, such as the use of Linux Yituo elvims This can be greatly simplified instructions. If these little observation will edit the scope of the problems is a bit complicated, in fact, only four directions of space. V instructions very handy, as pressing v key, the cursor will be the location of the anti-white, then we can move the cursor to the set, then direct instructions can be edited.
Operation of the entire trip, with a more convenient editing vim thalamotomy another direction. As mentioned previously off dd delete the entire text of the directive is a DOALOS entire text can be amended; Yy and the whole system is complex text; D. directive will be deleted from the cursor to the end of the trip all the characters.
Archives Directive
Instruction Multiple files to : start, with little distinction between editorial directives. For example mentioned earlier : q is the end of editorial directives. This will now briefly explain the story as the end :
Editors concluded : q (quit)
If we do not want to give up editing and archiving files used : q! compulsory leave.
Filed : w (write)
Subsequent to the filing are available stalls were.
Directive files can be combined, for example : wq that is left after the filing.
Zz : wq with the same function.
Also worth mentioning is the most vim thalamotomy archiving functions. Can be used : n, n mw filename will be the first trip to the m-word kept going miles to the filename specified. Times are changing, the world is changing, and vim thalamotomy also changed, but generally it is so. Well, I hope that henceforth the prince's life with the princess lived happily ever after.
: Wq
: Idea : idea : : : : : idea idea idea : : : : : : idea : idea : idea : |
(Advice) on the TAB installed VI Editor : : : :
I have the opportunity to vim thalamotomy the traditional source code line. The old version, but the writing is very simple!
You see certain benefits. |
(Advice) on the TAB installed VI Editor : : : :
-->
You write? ? ?
:) : : : : Amazing ah
I added you that MSN : :
Have time to exchange : : |
(Advice) on the TAB installed VI Editor : : : :
-->
I watched the vim thalamotomy FOSS
Yes tally
Patience is not good
In addition there are online translation vim thalamotomy tuor
On the sourceforge |
(Advice) on the TAB installed VI Editor : : : :
QUICKREF
*quickref.txt* For Vim version 6.0. A recently updated : September 10, 2001
VIM reference manual by Bram Moolenaar
(Translator : lang2 http://vimcdoc.sf.net)
Quick reference guide
*quickref* *Contents*
Tag subject tag subject
The list of documents |Q_re| plots order to help |Q_ct|
|Q_lr| Moving around |Q_km| keyboard mapping :
Mobile |Q_ud| make |Q_ab| initials :
|Q_tm| Mobile version of the benchmarks |Q_op| choice :
Mobile : |Q_pa| find ways |Q_ur| cancellation / plots order
Mobile : external markings |Q_et| order |Q_ma|
|Q_vm| Other mobile |Q_qf| Quickfix order :
Mobile label |Q_vc| |Q_ta| other orders :
Ex |Q_sc| Volume : command line editing screen |Q_ce|
|Q_in| Insert : Insert Text : Ex scope |Q_ra|
Ex common bond : |Q_ex| |Q_ai| insert special characters :
|Q_ss| Special bond |Q_ed| document editing, insert :
|Q_di| Alphabetical |Q_fl| inserted with the use of two parameters : the table
|Q_si| |Q_wq| Inserted into and from the special insert :
|Q_de| Changes : delete text |Q_st| start VIM
|Q_cm| Copy and mobile |Q_ac| automatic orders changes :
|Q_ch| Changes : Text |Q_wi| order more windows
|Q_co| |Q_bu| Buffer complicated scheduling order changes :
|Q_vi| Visualization model |Q_sy| Grammar Jialiang
Text Object |Q_gu| GUI order |Q_to|
Folding |Q_fo|
--------------------------------------------------------------------------------
N used (optional) As the number of orders prior to the implementation of the order said.
--------------------------------------------------------------------------------
*Q_lr* Move around
|h| N h left (also : CTRL-H, "BS>; or" Left>; button)
|l| N-right (also : "Space>; or" Right>; button)
|0| 0 to own a mobile characters (also : "Home>; button)
|^| ^ Mobile division to the first non-blank characters
|$| Moved to N $ own (N-1 follow-up visit) last Character
(Also : "End>; button)
N g0 |g0| moved to the first screen characters (when pack trip and "0" different)
N ^ |g^| moved to the first non-blank screen characters (when pack trip, and by "a" different)
N g$ |g$| moved to the last screen characters (when pack trip and "$" different)
N gm |gm| moved to the midpoint of the screen
Mobile to |bar| N | N series (default : 1)
N f{char} |f| moved to the right place the first N appears {char}
N | F | N F{char} moving to the left first place appears {char}
| T | 现 moved to the right side of the first N N t{char} appeared before {char}
|T| Moved to the left side of No. N N T{char} appeared before {char}
|;| N; plots last "f", "F", "t", or "T" N-th order
| | N, in the opposite direction of the last plots of "f", "F", "t", or "T" N-th order
--------------------------------------------------------------------------------
*Q_ud* Up and
|k| Upward N N k Bank (and also : CTRL-P "Up>;)
J N N scale down |j| Bank (also : CTRL-J, CTRL-N, "NL>;, and the" Down>;)
|-| N-N upward trip, and to a non-blank characters
N + N |+| downward scale firms, and to a non-blank characters (and also : CTRL-M "CR>;)
̲ scale down |_| N N-1 trip, and to a non-blank characters (also :
CTRL-M and "CR>;)
|G| N G to N (the default : the last line), and to a non-blank characters
|gg| N 139330 to N (the default : First Bank), and to a non-blank characters
Calculation of a trip to |N%|% N% N Department documents. Be given N,
Otherwise |%| orders.
|gk| Upward N N activation (the "k" treatment from the pack)
|gj| Attorney downward N N scale (the "j" is different from the pack the processing)
--------------------------------------------------------------------------------
Mobile text object *Q_tm*
W forward to |w| N N word
W forward |W| N N word separated by gaps |WORD|
E forward to |e| N N word suffix
E N N | E | forward to a blank word separated by the suffix |WORD|
B N N word back |b|
B N N variations back to a blank word separated by the suffix |WORD|
|ge| N ge back to N word suffix
|gE| N N gE back to a blank word separated by the suffix |WORD|
|) | N) N sentence forward
| (| N (N sentence back
N) N ahead of |}|
N N -- of being |{|
Says forward |]]| N N, at the beginning of the section
[[N N |[[| rear section at the beginning of the section
N] [N |][| forward section, at the end of festival
|[]| N N [] rear section at the end of Day
|[ (| N-[(N not back to the end '('
N-[(N |[{| not back to the end '--'
N N |[m| results show the method back to the beginning (for Java)
N M N |[M| way back to the end (for Java)
*)|)/) | N]) did not move to end N ')'
N) N |]}| forward to the closing ')'
|]m| N N ]m way forward to the beginning (for Java)
|]M| N N ]M way forward to the end (for Java)
|[#| N N [# not be able to end the "#if" or "#else"
N N # |]#| forward to closing the "#else" or "#endif"
Note |[star| N N back to the beginning of the Notes "LEAVES OF 13 SPECIES OF LAURACEAE"
N] * N |]star| forward to the end of the Notes "*/"
--------------------------------------------------------------------------------
*Q_pa* By identifying patterns
|/| N /{pattern}[/[offset]]<CR>;
Identify forward the resolution N appears {pattern}
|?| N ?{pattern}[?[offset]]<CR>;
Able to find its place N appears {pattern}
N /<CR>; identify forward plots last |/<CR>;|
N ?<CR>; able to identify plots last |?<CR>;|
N-n identifying plots last |n|
| N N plots in the opposite direction last search
N * |star| identify forward under the cursor identifier
N # able to find the cursor |#| identifier
|gstar| N g* such as "*", but also find some matching
|g#| N # such as "*", but also find some matching
|gd| Gd under the cursor moved to a statement Bush said at the Board
GD mobile |gD| to conform to the overall statement said under the cursor
Find the special characters |pattern| model
Meaning magic nomagic
匹配任意单个字符 . \.
匹配行首 ^ ^
匹配 <EOL>; $ $
匹配单词开始 \< \<
匹配单词结束 \>; \>;
匹配标定范围中的单个字符 [a-z] \[a-z]
匹配不在标定范围中的单个字符 [^a-z] \[^a-z]
匹配一个标识符字符 \i \i
同上但不包括数字 \I \I
匹配一个关键字字符 \k \k
同上但不包括数字 \K \K
匹配一个文件名字符 \f \f
同上但不包括数字 \F \F
匹配一个可打印的字符 \p \p
同上但不包括数字 \P \P
匹配一个空白字符 \s \s
匹配一个非空白字符 \S \S
匹配 <Esc>; \e \e
匹配 <Tab>; \t \t
匹配 <CR>; \r \r
匹配 <BS>; \b \b
匹配 0 或多个前面的匹配原子 * \*
匹配 0 或多个前面的匹配原子 \+ \+
匹配 0 或多个前面的匹配原子 \= \=
匹配 2 至 5 个前面的匹配原子 \{2,5} \{2,5}
隔开两种可能的匹配 \| \|
将一个模式组成一个匹配原子 \(\) \(\)
|search-offset| 查找命令后可用的偏移量
[num] [num] 行向下, 位于第一栏
+[num] [num] 行向下, 位于第一栏
-[num] [num] 行向上, 位于第一栏
e[+num] 匹配结尾右方 [num] 个字符处
e[-num] 匹配结尾左方 [num] 个字符处
s[+num] 匹配启始右方 [num] 个字符处
s[-num] 匹配启始左方 [num] 个字符处
b[+num] 匹配启始右方 [num] 个字符处
b[-num] 匹配启始左方 [num] 个字符处
;{search-command} 接着执行 {search-command} 查找
--------------------------------------------------------------------------------
*Q_ma* 标记与移动
|m| m{a-zA-Z} 用标记 {a-zA-Z} 记录当前位置
|`a| `{a-z} 移动至当前文件中的标记 {a-z}
|`A| `{A-Z} 移动至任何文件中的标记 {A-Z}
|`0| `{0-9} 移动至 Vim 上次退出的位置
|``| `` 移动至上次跳转至前的位置
|`quote| `" 移动至上次编辑此文件的位置
|`[| `[ 移动至上次被操作或放置的文本的开始
|`]| `] 移动至上次被操作或放置的文本的结尾
|`<| `< 移动至 (前次) 可视区域的开始
|`>;| `>; 移动至 (前次) 可视区域的结尾
|`.| `. 移动至当前文件最后被改动的位置
|'| '{a-zA-Z0-9[]'"<>;.}
同 `, 但同时移动至该行的第一个非空白字符
|:marks| :marks 列出活动的标记
|CTRL-O| N CTRL-O 跳转至跳转列表中第 N 个较早的位置
|CTRL-I| N CTRL-I 跳转至跳转列表中第 N 个较晚的位置
|:ju| :ju[mps] 列出跳转列表
--------------------------------------------------------------------------------
*Q_vm* 其他移动
|%| % 找到本行中下一个括号,方括号,注释,或 "#if"/
"#else"/"#endif" 并移动至与其对称的位置
|H| N H 移动至窗口的第 N 行的第一个非空白字符处
|M| M 移动至窗口的中间行的第一个非空白字符处
|L| N L 移动至窗口的第 N 行(从下方算)的第一个非空白字符处
|go| N go 移动至缓冲的第 N 个字节
|:go| :[range]go[to] [off] 移动至缓冲的第 [off] 个字节
--------------------------------------------------------------------------------
*Q_ta* 使用标签
|:ta| :ta[g][!] {tag} 跳转至标签 {tag}
|:ta| :[count]ta[g][!] Jump to [count]'th newer tag in tag list
|CTRL-]| CTRL-] 跳转至光标下的标签,除非文件被改动
|:ts| :ts[elect][!] [tag] 列出匹配的标签并选择一个跳转
|:tjump| :tj[ump][!] [tag] 跳转至标签 [tag] ,当有多个匹配时从列表
中选择跳转
|:tags| :tags 列表标签
|CTRL-T| N CTRL-T 跳转至标签列表中第 n 个较早的标签
|:po| :[count]po[p][!] 跳转至标签列表中第 [count] 个较早的标签
|:tnext| :[count]tn[ext][!] 跳转至接下来的第 [count] 个匹配的标签
|:tp| :[count]tp[revious][!] 跳转至前面第 [count] 个匹配的标签
|:tr| :[count]tr[ewind][!] 跳转至第 [count] 各匹配的标签
|:tl| :tl[ast][!] 跳转至上次匹配的标签
|:ptag| :pt[ag] {tag} 打开一个显示 {tag} 标签的预览窗口
|CTRL-W_}| CTRL-W } 如 CTRL-] 但在预览窗口显示标签
|:pts| :pts[elect] 如 ":tselect" 但在预览窗口显示标签
|:ptjump| :ptj[ump] 如 ":tjump" 但在预览窗口显示标签
|:pclose| :pc[lose] 关闭标签预览窗口
|CTRL-W_z| CTRL-W z 关闭标签预览窗口
--------------------------------------------------------------------------------
*Q_sc* 滚屏
|CTRL-E| N CTRL-E 窗口下卷 N 行 (缺省: 1)
|CTRL-D| N CTRL-D 窗口下卷 N 行 (缺省: 1/2 窗口)
|CTRL-F| N CTRL-F 窗口前卷 N 页 (向下)
|CTRL-Y| N CTRL-Y 窗口上卷 N 行 (缺省: 1)
|CTRL-U| N CTRL-U 窗口上卷 N 行 (缺省: 1/2 窗口)
|CTRL-B| N CTRL-B 窗口后卷 N 页 (向下) (向上)
|z<CR>;| z<CR>; 或 zt 重画,当前行置窗口顶端
|z.| z. 或 zz 重画,当前行置窗口正中
|z-| z- 或 zb 重画,当前行置窗口底端
一下仅当 'wrap' 选项关闭时生效:
|zh| N zh 屏幕右卷 N 个字符
|zl| N zl 屏幕左卷 N 个字符
|zH| N zH 屏幕右卷半个屏宽
|zL| N zL 屏幕左卷半个屏宽
--------------------------------------------------------------------------------
*Q_in* 插入文本
|a| N a 在光标后添加文本 (N 次)
|A| N A 在行末添加文本 (N 次)
|i| N i 在光标签插入文本 (N 次) (亦: <Insert>;)
|I| N I 在当前行的第一个非空白字符前插入文本 (N 次)
|gI| N gI 在第一栏中插入文本 (N 次)
|o| N o 在当前行下方开始新行,添加文本 (N 次)
|O| N O 在当前行上方开始新行,添加文本 (N 次)
|:startinsert| :star[tinsert][!] 开始插入模式,当使用 [!] 时添加文本
在可视块模式下:
|v_b_I| I 在所有选中的行首插入同样的文本
|v_b_A| A 在所有选中的行尾添加同样的文本
--------------------------------------------------------------------------------
*Q_ai* 插入模式键
|insert-index| 插入模式命令的索引,以字母顺序排列
离开插入模式:
|i_<Esc>;| <Esc>; 结束插入模式,回到普通模式
|i_CTRL-C| CTRL-C 同 <Esc>;, 但不使用缩写
|i_CTRL-O| CTRL-O {command} 执行命令 {command} 并回到插入模式
移动:
|i_<Up>;| 光标键 左/右/上/下 移动光标
|i_<S-Left>;| shift-left/right 左/右 移动一个单词
|i_<S-Up>;| shift-up/down 向后/前一个屏幕
|i_<End>;| <End>; 光标至本行的末字符后
|i_<Home>;| <Home>; 光标至本行的首字符 |
(请教)关于VI编辑器的TAB设置…………
上面是他们翻译好的一部分
现在忘记了在哪里下的了
我以前在这把vim的中文文档下载地写过
有兴趣的朋友可以找一下 |
(请教)关于VI编辑器的TAB设置…………
-->
vim是有版权的,怎么会是我写的呢?再说,我可能也没那个水平! |
| |