- Mastering Vim
- Ruslan Osipov
- 203字
- 2021-06-10 18:51:25
Changing text
By default you're in Vim's normal mode, meaning that every key press corresponds to a particular command. Hit i on your keyboard to enter an insert mode. This will display -- INSERT -- in a status line (at the bottom), (and, if you're using gVim, it will change the cursor from a block to a vertical line), as can be seen in the following example:

The insert mode behaves just like any other modeless editor. Normally, we wouldn't spend a lot of time in insert mode except for adding new text.
Let's create our Python application by typing in the following code. We'll be navigating this little snippet throughout this chapter:

To get back to normal mode in Vim, hit Esc on your keyboard. You'll see that -- INSERT -- has disappeared from the status line. Now, Vim is ready to take commands from you again!
- C++案例趣學
- Spring技術內幕:深入解析Spring架構與設計
- 趣學Python算法100例
- Python進階編程:編寫更高效、優雅的Python代碼
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- Responsive Web Design by Example
- Getting Started with Greenplum for Big Data Analytics
- Java程序設計入門
- 零代碼實戰:企業級應用搭建與案例詳解
- Android Studio Cookbook
- Learning Grunt
- 深度實踐KVM:核心技術、管理運維、性能優化與項目實施
- 交互設計師成長手冊:從零開始學交互
- Java RESTful Web Service實戰
- C Primer Plus(第6版)中文版【最新修訂版】