Line mode despite the extensive use of is command and insert mode, but the line is just as important, but sometimes is not fully understand and use.
Line mode to enter the line editor that allows you to one or more rows on processing the command. Taking into account the ex editor vi to named, so it only fits into the ex editor line mode. From the command line mode mode to enter, enter a colon (:). Then move the cursor to the lower-left corner of the window. Continue to enter, all the text appears in the colon at the bottom of the window. Click Enter to begin the calculation and execution of line mode command. If you decide not to perform in line mode input rows, click Escape to return to command mode. Use the editor of line mode, remember two command style. First, enter the command, vi or Vim command execution. as is If the executed command and modify data, the current row is the goal. However, using the second method provides the number of rows to process the specified rows. To enter, use a colon to enter the number of rows to be processed or row range, with a comma (,) to separate the start and end range. For example, if a row only, then the command to 23: 23. If you want to modify 2319 to the line between 3819, you enter: 2319, 3819. To start from row 45 to file a command to the end, you need to last row of parameter to be replaced by a dollar sign ($), namely: 45, $. This command is only available in line mode perform most basicLinxu Security , the latest breaking news and information on security, linux, open source, firewalls
Sunday, January 16, 2011
Dialogue on UNIX: new improved Vim editor
Labels:
[:]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment