Import command execution results: r! Command
: [filename] R & lt (vim import a file to which the current document being edited)
Example:: r / etc / issue (issue the contents of the file into the cursor)
:! which Syntax (when referring to the command, find the path where the command)
:! date (see the last time editing)
Defined shortcuts: map shortcut keys [] [] trigger command
: map ^ PI # <ESC> ( to create a note shortcut)
: map ^ B 0x (uncommented shortcuts)
: map ^ H [email protected] <the ESC> (insert mailbox shortcuts)
Continuous line comments: n1, n2s / ^ / # / g ( annotate)
N1, N2S / # // G (uncommented)
N1, N2S / ^ / \ / \ // G (only with sucker comment) [\ :Escapes】
Replace: ab mymail [email protected] (after entering the mymail automatically replaced my mailbox)
Use the restart after shutdown defined in the general file shortcuts and quick replacement will fail to be saved in the configuration /root/.vimrc