0
Follow
0
View

1. Delete the first character of the specified line from vim

crocodileone 注册会员
2023-01-25 18:08

1. Delete the first character of the specified line from vim
Use the edit command "dt" to delete the first character of the specified line. Enter ": # dt" where # represents the number of rows to delete.
2. vim replaces the contents after the specified line "=" with the specified contents
Uses the replacement command "s" to replace the contents after the specified line "=" with the specified contents. Enter ": # s/=//replacement/", where # represents the number of lines to be replaced.

About the Author

Question Info

Publish Time
2023-01-25 18:08
Update Time
2023-01-25 18:08