当前位置:网站首页>vim你也可以写文本块
vim你也可以写文本块
2022-08-07 18:25:00 【fqbqrr】
function! textobj#dmk#select_a()
?```
let start_pos = getpos('.')
normal!j
/```
let end_pos = getpos('.')
return ['V', start_pos, end_pos]
endfunction
function! textobj#dmk#select_i()类似,只是注意上下行,
然后,加上
call textobj#user#plugin('markdown', {
\ '-': {
\ 'select-a': 'am', 'select-a-function': 'textobj#dmk#select_a',
\ 'select-i': 'im', 'select-i-function': 'textobj#dmk#select_i'
\ }
\ })
边栏推荐
- 字符串去掉()以及()中的文字
- Changan chain fact example contract stateddb storage data original text with cmecv1.0 reason analysis
- Related properties of vector groups
- 【web】WebSocket初步的认识
- tiup cluster scale-in
- 解决word文档页码不连续的方法
- 05-树7 堆中的路径(最小堆)
- When shooting video, is the higher the frame rate the better?
- GC垃圾收集
- MogDB企业应用 之 七种武器
猜你喜欢
随机推荐
分布式一致性协议 之 NWR协议与Gossip 协议
带你认识npm和yarn
PostgreSQL Basics 1. Data Types
Promise笔记
tiup cluster scale-in
What to do if there is no sound when watching TV on the computer
Chapter 02 - Let's Get Started(C#篇)
Timer,时间堆
ResNet Architecture Analysis
C#调用bartender进行动态打印以及批量打印的完整教程
ResNet架构解析
直播预告 | ICML2022 11位一作学者在线分享神经网络,图学习等前沿研究
数据分析面试(一)统计基础篇
混合方式启动和销毁service梳理
CNAS认可准则之纠正、纠正措施和预防措施的区别
[2022 牛客多校2 E] Falfa with Substring (二项式反演 NTT)
5.【opencv写入录制视频】
Three ways to splicing int type variables and String type variables in dart
In-depth explanation of edge cloud | 6. Monitoring and telemetry
win7旗舰版产品密钥永久激活 win7旗舰版激活码最新2022









