2015年8月29日 星期六

Red Hat 7 chapter 4

Creating  , Viewing , and Editing Text Files

Editing files with Vim

  • vim is an improved version of the vi editor distributed with Linux and UNIX systems.
  • Vim is highly configurable and efficient for practiced users , including such features as split screen editing color formatting , and highlighting for editing text.
  • An i keystroke enters insert mode , where all text typed becomes files content. Pressing Esc returns to command  mode.
  • A v keystroke enters visual mode , where multiple characters may be selected for text manipulation . Use V for multi-line and Ctrl-v for block selection . The same keystroke used to enter visual mode (v,V ,Ctrl-v)is used to exit.
  • The : keystroke begins extended command mode for tasks like writing the file to save it , and quitting the Vim editer.

沒有留言:

張貼留言