当前位置:网站首页>write a number of lines to a new file in vim
write a number of lines to a new file in vim
2022-06-24 21:41:00 【ztenv】
1. simplest
:100,200 w filename
2. set a start mark named A first, set a end mark named B second, and then
`: 'A,'B w filename`
3. set vim in visual model, such as ctrl+v, and then select all lines that you want to write to a new file, and then press shit+:
:'<,'> w filename # ‘<,’> will be filled by vim auotmatically
4. other
:+0,+99 w filename
边栏推荐
猜你喜欢

Bi-sql index

JVM指令

Numerical scheme simulation of forward stochastic differential equations with Markov Switching

Application session coverage solutions with different ports on the same server

论文翻译 | RandLA-Net: Efficient Semantic Segmentation of Large-Scale Point Clouds

Abnova丨5-甲基胞嘧啶多克隆抗体中英文说明

Huawei laptop, which grew against the trend in Q1, is leading PC into the era of "smart office"

(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds

Icml2022 | establishing a continuous time model of counterfactual results using neural control differential equations

带马尔科夫切换的正向随机微分方程数值格式模拟
随机推荐
Icml2022 | establishing a continuous time model of counterfactual results using neural control differential equations
Preg in PHP_ How to replace variable data
Tencent cloud wecity solution
Elastase instructions in Chinese and English
Reverse ordinal number by merge sort
Boutique enterprise class powerbi application pipeline deployment
Linux64Bit下安装MySQL5.6-不能修改root密码
Application session coverage solutions with different ports on the same server
Fan benefits, JVM manual (including PDF)
Cloud development technology summit · public welfare programming challenge [hot registration]!
数组中关于sizeof()和strlen
“一个优秀程序员可抵五个普通程序员!”
Longest continuous sequence [diffusion method + space for time]
Basic use of transformers Library
动手学数据分析 数据建模和模型评估
Audio PCM data calculates sound decibel value to realize simple VAD function
天书夜读笔记——深入虚函数virtual
Texture enhancement
sql 聚合函数对 null 的处理[通俗易懂]
多模态数据也能进行MAE?伯克利&谷歌提出M3AE,在图像和文本数据上进行MAE!最优掩蔽率可达75%,显著高于BERT的15%