用vim对多个文件中字符替换

using marks

流浪 posted @ 2007年8月03日 14:36 in Vim tips with tags vim tips mark , 2877 阅读

To mark one or more positions in a file, use the m[ark] command.

Examples:

ma       -    set current cursor location as mark a

'a       -    jump to beginning of line of mark a

`a       -    jump to postition of mark a

d'a      -    delete from current line to line of mark a

d`a      -    delete from current cursor position to mark a

c'a      -    change text from current line to line of mark a

y`a      -    yank text to unnamed buffer from cursor to mark a

:marks   -    list all the current marks

NB: Lowercase marks (a-z) are valid within one file. Uppercase marks
(A-Z), also called file marks, are valid between files.

For a detailed description of the m[ark] command refer to

:help mark

See also:

:help various-motions

from here.

Avatar_small
Things to do 说:
2021年11月16日 23:24

What are the trending destinations in France at the present? We can easily find all info on Things to do post with detailed article.

Avatar_small
KSEEB 10th kannada M 说:
2022年9月21日 22:21

KSEEB SSLC Question Paper 2023 for Karnataka SSLC Kannada Language Model Paper 2023 Pdf Download with Answer Solutions for theory, objective type MCQ Questions as KSEEB 10th Kannada Model Paper 2023 or KAR SSLC 1st Language Model Set 2023 for Kannada medium and English Medium General, Vocational and NQSF students. KSEEB 10th kannada Model Paper Karnataka State Class 10th (STD-10) first language (Kannada) model question paper 2023 Pdf download for Kannada medium students to the academic year of 2023.

Avatar_small
CM Rise डिजिटल शिक्ष 说:
2022年10月31日 22:32

Madhya Pradesh CM Rise digital teacher training programme & shikshak prashikshan certificate download: School Education System, Madhya pradesh in collaboration with People samsthan had established a new platform to enhance the knowledge and skill of teachers. CM Rise डिजिटल शिक्षक प्रशिक्षण Madhya Pradesh government had started a new digital training programme to enrich the skill of both teachers and students.

Avatar_small
the backrooms 说:
2022年12月15日 09:24

It's a really good bit of writing. Without a sure, this is among the most outstanding contributions I've ever seen

Avatar_small
Instagram Customer S 说:
2022年12月23日 15:22

Are you looking to contact Instagram’s Customer Support helpline? The leading social media platform has not introduced any special customer support helpline that is available 24*7 to discuss to Support Agent to report or solve issues of users. Instagram Customer Service Contact Number However, we can contact Instagram through the help form to report issues, Additionally, we can contact through E-mail and Toll-Free with Contact Numbers, but there is no option to discuss by contacting through Instagram Phone Number.

Avatar_small
Tjmaxx Login 说:
2023年1月20日 18:08

TJ Maxx also well known as TJMaxx or TJX, is a superstore chain in the United State of America that is famous for selling products at lower prices compared to other superstore chains in the market. Tjmaxx Login In order to increase their customer intent they have launched a special credit card called TJMaxx credit card. This may be used in any of their stores. Upon using these cards customers will earn loyalty and bonus points. These loyalty and bonus points are used in order to redeem through special offers.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter