Enter edit mode
650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/08/c54b24b003d7fb5ce5ddb62070ec9022.png-wh_500x0-wm_3 -wmp_4-s_1073373071.png "title=" 3.png "alt=" C54b24b003d7fb5ce5ddb62070ec9022.png-wh_ "/>
I enter edit mode, the cursor does not move
I cursor moves to the beginning of the row
A cursor moves to the end of the line
A cursor moves to a character following the cursor character
O The cursor moves to the previous line of the row to insert a blank line
o move the cursor to the next line of the row to insert a blank line
5.6 VIM Command mode
650) this.width=650; "Src=" Https://s4.51cto.com/oss/201711/08/abbffa43a952c991939199d0d5c6b34f.png-wh_500x0-wm_3 -wmp_4-s_3984618202.png "title=" 4.png "alt=" Abbffa43a952c991939199d0d5c6b34f.png-wh_ "/>
/root N continues to look down,n continues to look up
: 1, $s//bin/bash/lsx.com/g there are two ways to solve
: 1, $s the first of the/\/bin\/bash/lsx.com/g
: 1, $s #lsx.com#/bin/bash#g the second kind
: Wq and : similar to x. The difference is the vi filename when nothing is done directly:wq 's mtime will change, two:x is not
5.7 Vim Practice
650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/08/63552692efefc5b3721c344ed65ab26b.png-wh_500x0-wm_3 -wmp_4-s_30853981.png "style=" Float:none; "title=" 5.png "alt=" 63552692efefc5b3721c344ed65ab26b.png-wh_ "/>
650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/08/9de81681be833b645090297d7e56f458.png-wh_500x0-wm_3 -wmp_4-s_4009549694.png "style=" Float:none; "title=" 6.png "alt=" 9de81681be833b645090297d7e56f458.png-wh_ "/>
650) this.width=650; "Src=" Https://s3.51cto.com/oss/201711/08/985b196f0435f806b392dd2fed1acae3.png-wh_500x0-wm_3 -wmp_4-s_2729738631.png "style=" Float:none; "title=" 7.png "alt=" 985b196f0435f806b392dd2fed1acae3.png-wh_ "/>
This article is from the "Paddock Obsession" blog, be sure to keep this source http://lsxme.blog.51cto.com/12400127/1979857
Vim editing, Command mode and practice