Let's Run Jinyeah

VIM Editor Commands 본문

Programming/Linux

VIM Editor Commands

jinyeah 2021. 5. 6. 10:20

Changing mode from insert mode to command mode

  • From command mode to insert mode - type a/A/i/I/o/O (더보기)
  • From insert mode to command mode - type Esc (escape key)
더보기

Text Entry commands

a Append text following current cursor position

A Append text to the end of current line

i Insert text before the current cursor position

I Insert text at the beginning of the cursor line

o Open up a new line following the current line and add text there

O Open up a new line in front of the current line and add text there

Exit Commands

  • :wq Write file to disk and quit the editor
  • :q! Quit (no warning)
  • :q Quit (a warning is printed if a modified file has not been saved)

 

 

'Programming > Linux' 카테고리의 다른 글

Linux Disk 확인 및 Filesystem 용량 확인  (0) 2022.08.08
Linux Command 모음  (0) 2022.05.17
VS Code 원격서버 연동  (0) 2022.05.17
Copy Files from local to Ubuntu server  (0) 2022.05.17
Comments