visual-studio-code - How to exit vim mode of vscode and return to normal mode
伊谢尔伦
伊谢尔伦 2017-05-16 16:34:27
0
1
6149

As shown in the picture, I am using this plug-in now. What does it mean when there is also a visual mode?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
某草草

Press cw to return to normal editing mode

VIM introduces Visual mode. To select a paragraph of text, first move the cursor to the beginning of the paragraph, press v in normal mode to enter visual mode, and then move the cursor to the end of the paragraph. It should be noted that the character where the cursor is located is included in the selection. At this time, you can perform some operations on the selected text. Commonly used (visual mode) commands are:
x or d cut (that is, delete, and the selected text enters the clipboard)
y copy
r character and replace all characters For the new character
u U ~, all letters become lowercase, uppercase, and reverse case respectively

After entering the command, VIM will return to normal mode. At this time, you can press p or P to paste. Commands for copy and paste in normal mode:

v Enter visual mode
p or P paste the contents of the clipboard at the current position, p sticks behind the character where the cursor is, and P sticks in front

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!