由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - Howto: vi partial string replace
相关主题
linux.com 归正主儿管了ft. postfix! postfix!
howto install vboxguestadditions on CentOS.SVN howto: branch working copy changes without committing?
其实吧how to build short cut to insert a text under vi?
月经问题汇总--大家提供vim: how to copy/yank the regular expression matched string
HowTo Install KDE 4.3 on Ubuntu 9.04XEmacs and Emacs' wheel behavior
ubuntu pulseaudio FAQ贡献一个很简短的vi Manual
Chinese input ... howto?怎么把某个版面的文章发到自己的邮箱
谁给科普一下framebuffer?Vim: how can I jump to the previous cursor position?
相关话题的讨论汇总
话题: string话题: howto话题: partial话题: vi
进入Linux版参与讨论
1 (共1页)
w*s
发帖数: 7227
1
if i use %s, that's global string replacement.
now my cursor is at line 20, i want to do string replacement from line 20 to
the end of the file, how to do it please ?
G*****h
发帖数: 33134
2
20,s
sth like this

to

【在 w*s 的大作中提到】
: if i use %s, that's global string replacement.
: now my cursor is at line 20, i want to do string replacement from line 20 to
: the end of the file, how to do it please ?

z****s
发帖数: 192
3

to

【在 w*s 的大作中提到】
: if i use %s, that's global string replacement.
: now my cursor is at line 20, i want to do string replacement from line 20 to
: the end of the file, how to do it please ?

z****s
发帖数: 192
4
刚贴的东西居然一点没有。重贴:
.,%s
that is, dot coma percentage sign then followed by s
the rest should be very similar to the usage of "sed".
1 (共1页)
进入Linux版参与讨论
相关主题
Vim: how can I jump to the previous cursor position?HowTo Install KDE 4.3 on Ubuntu 9.04
vimubuntu pulseaudio FAQ
block cursor in vimChinese input ... howto?
如何谁给科普一下framebuffer?
linux.com 归正主儿管了ft. postfix! postfix!
howto install vboxguestadditions on CentOS.SVN howto: branch working copy changes without committing?
其实吧how to build short cut to insert a text under vi?
月经问题汇总--大家提供vim: how to copy/yank the regular expression matched string
相关话题的讨论汇总
话题: string话题: howto话题: partial话题: vi