当前位置:网站首页>vim正确加区间注释
vim正确加区间注释
2022-07-04 03:47:00 【fqbqrr】
fun!Jzsqj() range
"\加注释区间,是不行的."
"\找匹配注释"
let z=Qzss()
let z="'<,'>norm I" . z
"这样,不行,要犯错误"
exe z
"每个都要加上let"
norm ^[
"退出esc"
endf
改成如下:
fun!Jzs()range
"加注释区间let i=0;jjI注释串<esc>"
let z=Qzss()
let k=Schs()
"z为类型的注释串,k为可视区间行差."
norm 0;
let s:ss='norm! {}jI{}'
"先选定区间,再I加上内容,最后esc"
let m=Thgs(s:ss,k,z)
exe m
norm ^[
endf
边栏推荐
- Unity移动端游戏性能优化简谱之 画面表现与GPU压力的权衡
- 选择排序与冒泡排序模板
- MySQL maxscale realizes read-write separation
- Graduation summary
- ctf-pikachu-CSRF
- Katalon框架测试web(二十六)自动发邮件
- What are the virtual machine software? What are their respective functions?
- '2'&gt;' 10'==true? How does JS perform implicit type conversion?
- STM32外接DHT11显示温湿度
- PostgreSQL users cannot create table configurations by themselves
猜你喜欢
2022-07-03:数组里有0和1,一定要翻转一个区间,翻转:0变1,1变0。 请问翻转后可以使得1的个数最多是多少? 来自小红书。3.13笔试。
JSON string conversion in unity
Audio and video technology development weekly | 232
Add IDM to Google browser
PostgreSQL users cannot create table configurations by themselves
2022-07-03: there are 0 and 1 in the array. Be sure to flip an interval. Flip: 0 becomes 1, 1 becomes 0. What is the maximum number of 1 after turning? From little red book. 3.13 written examination.
[paddleseg source code reading] paddleseg custom data class
SQL statement strengthening exercise (MySQL 8.0 as an example)
mysql数据库的存储
选择排序与冒泡排序模板
随机推荐
[Huawei cloud IOT] reading notes, "Internet of things: core technology and security of the Internet of things", Chapter 3 (I)
Which product is better for 2022 annual gold insurance?
Consul of distributed service registration discovery and unified configuration management
Mindmanager2022 efficient and easy to use office mind map MindManager
JDBC 进阶
PostgreSQL users cannot create table configurations by themselves
Katalon framework test web (XXVI) automatic email
Solve the problems encountered by the laravel framework using mongodb
【读书会第十三期】多媒体处理工具 FFmpeg 工具集
Object oriented -- encapsulation, inheritance, polymorphism
STM32外接DHT11显示温湿度
拼夕夕二面:说说布隆过滤器与布谷鸟过滤器?应用场景?我懵了。。
[paddleseg source code reading] paddleseg calculates Miou
'2'&gt;' 10'==true? How does JS perform implicit type conversion?
Database SQL statement summary, continuous update
【读书会第十三期】视频文件的封装格式
Monitoring - Prometheus introduction
Go 语言入门很简单:Go 实现凯撒密码
How much does it cost to open a futures account in China? Where is it safe to open an account at present?
JVM family -- heap analysis