当前位置:网站首页>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
边栏推荐
- 华为云鲲鹏工程师培训(广西大学)
- How much does it cost to open a futures account in China? Where is it safe to open an account at present?
- Calculate the odd sum of 1~n (1~100 as an example)
- GUI Graphical user interface programming (XIV) optionmenu - what do you want your girlfriend to wear on Valentine's day
- Epidemic strikes -- Thinking about telecommuting | community essay solicitation
- Session learning diary 1
- Nbear introduction and use diagram
- [paddleseg source code reading] paddleseg custom data class
- 三年进账35.31亿,这个江西老表要IPO了
- 三菱M70宏变量读取三菱M80公共变量采集三菱CNC变量读取采集三菱CNC远程刀补三菱机床在线刀补三菱数控在线测量
猜你喜欢

三菱M70宏变量读取三菱M80公共变量采集三菱CNC变量读取采集三菱CNC远程刀补三菱机床在线刀补三菱数控在线测量

If you have just joined a new company, don't be fired because of your mistakes

JVM family -- monitoring tools

functools下的reduce函数

Want to do something in production? Then try these redis commands

Monitoring - Prometheus introduction

Sales management system of lightweight enterprises based on PHP

基于PHP的轻量企业销售管理系统

深度优先搜索简要讲解(附带基础题)

Storage of MySQL database
随机推荐
Support the first triggered go ticker
Katalon框架测试web(二十一)获取元素属性断言
【读书会第十三期】多媒体处理工具 FFmpeg 工具集
Future源碼一觀-JUC系列
Mitsubishi M70 macro variable reading Mitsubishi M80 public variable acquisition Mitsubishi CNC variable reading acquisition Mitsubishi CNC remote tool compensation Mitsubishi machine tool online tool
Katalon framework tests web (XXI) to obtain element attribute assertions
Management and thesis of job management system based on SSM
[paddleseg source code reading] paddleseg custom data class
基于PHP的轻量企业销售管理系统
How much does it cost to open a futures account in China? Where is it safe to open an account at present?
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.
Audio and video technology development weekly | 232
Typical applications of minimum spanning tree
Development of digital collection trading platform development of digital collection platform
Learning video website
logistic regression
三年进账35.31亿,这个江西老表要IPO了
Huawei cloud Kunpeng engineer training (Guangxi University)
疫情来袭--远程办公之思考|社区征文
How to pipe several commands in Go?