【vim】save part of file to a seperate new file
来源:互联网 发布:阿里云潘爱民 编辑:程序博客网 时间:2024/05/28 18:45
(1)
:230,$w newfile
Saves from line 230 to end of file in newfile.:.,600w newfile
Saves from the current line to line 600 in newfile.
(2)
:1,10w newfile
and then:
:340,$w >>newfile
newfile would contain lines 1–10 and from line 340 to the end of the buffer.
- 【vim】save part of file to a seperate new file
- How to save a NSImage as a new file
- How to create SVAs in a seperate file
- Save BST to a file
- GDB : save debug info to a file
- unspecified Error of js on windows2000 and ie6 to try to save a File.
- Linux command: save the output of a command to a file
- vim - cannot save backup file
- Linux - How to remove the new line at the end of file when using vim
- A note of porting yaffs2 file system to linux 2.6.18, part one.
- Lua Save Table to File
- Python Save Data To File
- Appending to the End of a File
- copy the content of a file to another file.
- Append new line of text to current sources.list file
- How to resize a *.jpg image and save the result to a file
- I was unable to save the HTTP result to file because of a I/O error: Server redirected too many tim
- How to new a tld file in eclipse
- 【struts2】Struts2和Struts1.x的全面比较
- 跟着老毕学Java之GUI图形化界面
- Xcode注意事项
- Eclipse与Tomcat的安装和配置
- Get current stack trace in Java
- 【vim】save part of file to a seperate new file
- twisted 地址
- 智能家居之远程视频监控
- 网卡组成工作原理
- Huge Bear Surprises Samsung Crew on EcoBubble washing machine Photo Shoot
- java读取jar包内的文件
- Haxe 3.0 RC版已经发布!
- Probabilistic Graphical Models 3 Template Models
- 计算器