03 - Editor (Vim)
- Philosophy of Vim
Vim’s programming language: keystrokes are cmds, and these cmds are composable. Vim avoids the use of mouse, because it’s too slow; Vim even avoids using the arrow keys because it requires too much movement.
- Modal editing
- Normal: for moving around a file and making edits
Initial Status
- Insert: for inserting text
<ESC>+I
- Replace: for replacing text
<ESC>+R
- Visual (plain, line, or block): for selecting blocks of text
<ESC>+V
- Command-line: for running a command
:
- Some commands
Input
vimtutor
that you could start your vim journey.






本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Sicilienne!
评论
Valine# ValineDisqus