Ted's Blog

Happy coding

vim

Ted posted @ 2008年8月05日 20:53 in 未分类 with tags vim , 2821 阅读


[Undo]
u

[redo]
ctrl + r

[移动到指定字符]
"fx"在当前行上查找下一个字符x
助记:
一个命令的大写字母形式会做同样的事情,但是方向相反
f   find
F   反方向f
t   to
T   反方向

[以匹配一个括号为目的的移动]
% 适用于[]{}()


[自动存盘]
:set autowrite
不自动存盘
:set noautowrite

[只读查看一个文件]
vim -r file
view file

[save as...]
:saveas new_file_name

[关闭窗口]
:close
比quit和ZZ的好处是不会关闭最后一个窗口

[关闭除当前窗口外的其它所有窗口]
:only

[切换窗口]
CTRL-W h 到左边的窗口
CTRL-W j 到下面的窗口
CTRL-W k 到上面的窗口
CTRL-W l 到右边的窗口
CTRL-W t 到顶部窗口
CTRL-W b 到底部窗口


[替换]
在一行内替换头一个字符串 old 为新的字符串 new,请输入 :s/old/new
在一行内替换所有的字符串 old 为新的字符串 new,请输入 :s/old/new/g
在两行内替换所有的字符串 old 为新的字符串 new,请输入 :#,#s/old/new/g
在文件内替换所有的字符串 old 为新的字符串 new,请输入 :%s/old/new/g
进行全文替换时询问用户确认每个替换需添加 c 选项,请输入 :%s/old/new/gc

Avatar_small
LEGEND SEO 说:
2020年12月29日 17:18

Hello There. I found your blog using msn. This is an extremely well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I’ll certainly comeback. 123movies

Avatar_small
lsm99 说:
2021年2月03日 12:04

his article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. Essay writing services

Avatar_small
lsm99 说:
2021年2月05日 00:15

If you are looking for more information about flat rate locksmith Las Vegas check that right away. maintenance company in dubai

Avatar_small
lsm99 说:
2021年2月06日 11:36

Hi, I find reading this article a joy. It is extremely helpful and interesting and very much looking forward to reading more of your work.. course english summer

Avatar_small
lsm99 说:
2021年2月07日 00:50

I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. หวยฮานอย

Avatar_small
lsm99 说:
2021年2月08日 19:43

This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog.. visit daybet365.net

Avatar_small
lsm99 说:
2021年2月10日 22:42

If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content. antony morato

Avatar_small
lsm99 说:
2021年2月11日 00:32

I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot! gray abstract painting

Avatar_small
lsm99 说:
2021年2月12日 12:48

I found this is an informative and interesting post so i think so it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article. Teatv For Pc

Avatar_small
lsm99 说:
2021年2月12日 20:34

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. couple looking for women

Avatar_small
lsm99 说:
2021年2月15日 00:49

I am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers. cacao bliss

https://discounts.format.com/

Avatar_small
lsm99 说:
2021年2月15日 01:31

I went over this website and I believe you have a lot of wonderful information, saved to my bookmarks Office Cleaning Melbourne

Avatar_small
lsm99 说:
2021年2月15日 11:07

This is a brilliant blog! I'm very happy with the comments!.. sour diesel

Avatar_small
lsm99 说:
2021年2月17日 19:59

I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Buy Quaaludes Online– Methaqualone 300 mg

Avatar_small
lsm99 说:
2021年2月20日 20:16 There is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. Thank you for your clear information. जन्मदिन की शुभकामनाएं
Avatar_small
lsm99 说:
2021年2月25日 13:10

This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. online baby shop in pakistan https://myhappybaby.pk/

Avatar_small
lsm99 说:
2021年2月26日 12:38

I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. cbd gummies reviews

Avatar_small
lsm99 说:
2021年3月01日 20:58 I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. cbd oil bath bombs
Avatar_small
lsm99 说:
2021年3月02日 21:24

I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. what is full spectrum cbd

Avatar_small
lsm99 说:
2021年3月04日 20:39 I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. budapest real estate
Avatar_small
lsm99 说:
2021年3月08日 23:41

I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. guitar lessons

Avatar_small
lsm99 说:
2021年3月12日 00:38

This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post. 科技券

Avatar_small
lsm99 说:
2021年3月12日 18:43

Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks 迷你倉

Avatar_small
lsm99 说:
2021年3月12日 19:55 When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. 利得稅
Avatar_small
lsm99 说:
2021年3月14日 01:26 I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. watch bands
Avatar_small
lsm99 说:
2021年3月14日 18:38

This blog is really great. The information here will surely be of some help to me. Thanks!. https://apkuniversal.com/smart-life-app/

Avatar_small
lsm99 说:
2021年3月14日 20:01

I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!.. large colorful artwork

Avatar_small
lsm99 说:
2021年3月17日 00:19

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. redporno.xxx/xxx-seks-video/21-porno-video.html

Avatar_small
lsm99 说:
2021年3月17日 12:11 Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet! Verkehrskunde Zürich
Avatar_small
lsm99 说:
2021年3月18日 00:24 it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity.. <a href="https://www.pornseksvideo.com/porno-hd-720p/">pornseksvideo.com/porno-hd-720p/</a>

 

Avatar_small
lsm99 说:
2021年3月19日 11:16

Wow, cool post. I’d like to write like this too – taking time and real hard work to make a great article… but I put things off too much and never seem to get started. Thanks though. สล็อต pg

Avatar_small
lsm99 说:
2021年3月19日 20:04 Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. toutpornoxxx.net/xxx-seks-video/1-porno-video.html
Avatar_small
lsm99 说:
2021年3月21日 00:32

Keep up the good work; I read few posts on this website, including I consider that your blog is fascinating and has sets of the fantastic piece of information. Thanks for your valuable efforts. graphic hoodies men

Avatar_small
lsm99 说:
2021年3月21日 11:10

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! visit

Avatar_small
lsm99 说:
2021年3月21日 21:04

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. Carpet Cleaning Urbana IL

Avatar_small
lsm99 说:
2021年3月22日 01:50

It is a fantastic post – immense clear and easy to understand. I am also holding out for the sharks too that made me laugh. Carpet Cleaning Champaign

Avatar_small
lsm99 说:
2021年3月22日 11:28

Efficiently written information. It will be profitable to anybody who utilizes it, counting me. Keep up the good work. For certain I will review out more posts day in and day out. porno.baby/xxx-seks-video/6-porno-video.html

Avatar_small
lsm99 说:
2021年3月22日 21:26

Without fail, your writing style is top professional; even your website also looks amazing thank you for posting. large colorful artwork

Avatar_small
lsm99 说:
2021年3月24日 01:25

Your blog is too much amazing. I have found with ease what I was looking. Moreover, the content quality is awesome. Thanks for the nudge! digital marketing agency

Avatar_small
lsm99 说:
2021年3月24日 19:51 You have outdone yourself this time. It is probably the best, most short step by step guide that I have ever seen. voc abatement equipment
Avatar_small
lsm99 说:
2021年3月24日 20:02 You have outdone yourself this time. It is probably the best, most short step by step guide that I have ever seen. voc abatement equipment
Avatar_small
lsm99 说:
2021年3月24日 20:03 You have outdone yourself this time. It is probably the best, most short step by step guide that I have ever seen. voc abatement equipment
Avatar_small
lsm99 说:
2021年3月25日 01:48 Wow, excellent post. I'd like to draft like this too - taking time and real hard work to make a great article. This post has encouraged me to write some posts that I am going to write soon. halal food catering services
Avatar_small
lsm99 说:
2021年3月26日 17:51

I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. halal food catering services

Avatar_small
lsm99 说:
2021年3月28日 19:11

I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. https://www.environmental-expert.com/news/cpi-installs-rto-at-medical-diagnostics-manufacturer-987007

Avatar_small
lsm99 说:
2021年3月31日 02:11

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. pharmacy without prescription

Avatar_small
lsm99 说:
2021年4月06日 19:56 I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. smm social panel
Avatar_small
lsm99 说:
2021年4月09日 11:42

Your blog has chock-a-block of useful information. I liked your blog's content as well as its look. In my opinion, this is a perfect blog in all aspects. best combat knives

Avatar_small
lsm99 说:
2021年4月14日 18:19 I exactly got what you mean, thanks for posting. And, I am too much happy to find this website on the world of Google. agen slot online
Avatar_small
lsm99 说:
2021年4月15日 23:02

Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! el shisha

Avatar_small
lsm99 说:
2021年4月19日 22:37 Hi there! Nice stuff, do keep me posted when you post again something like this! keputusan magnum hari ini malaysia
Avatar_small
lsm99 说:
2021年4月22日 01:23

Wow, this is fascinating reading. I am glad I found this and got to read it. Great job on this content. I liked it a lot. Thanks for the great and unique info. best combat knife

Avatar_small
lsm99 说:
2021年4月24日 20:42

Great post but I was wondering if you could write a little more on this subject? I’d be very thankful if you could elaborate a little bit further. Thanks in advance! travelsavvyguide.com

Avatar_small
lsm99 说:
2021年5月04日 22:38 An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers. https://onlyfans.com/dymislayworld
Avatar_small
lsm99 说:
2021年5月11日 22:46 I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. butterfly training knife
Avatar_small
lsm99 说:
2021年5月21日 00:46

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. Agen Slot Online

Avatar_small
lsm99 说:
2021年5月23日 23:59

For those who are nature and sports lover, they can enjoy the seamless connectivity of the trail at Seletar Park Connector which can lead to Punggol Coney Island. One can either jog or cycle to wind down after a hectic day to wind down or just enjoy a stroll with family after dinner. parc greenwichec

Avatar_small
lsm99 说:
2021年5月26日 11:33 For those who are nature and sports lover, they can enjoy the seamless connectivity of the trail at Seletar Park Connector which can lead to Punggol Coney Island. One can either jog or cycle to wind down after a hectic day to wind down or just enjoy a stroll with family after dinner. Parc Greenwich ec
Avatar_small
lsm99 说:
2021年5月26日 19:26

Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. thc vape oil for sale

Avatar_small
lsm99 说:
2021年5月26日 20:41

This is a truly good site post. Not too many people would actually, the way you just did. I am really impressed that there is so much information about this subject that have been uncovered and you’ve done your best, with so much class. If wanted to know more about green smoke reviews, than by all means come in and check our stuff. honeycomb carts

Avatar_small
lsm99 说:
2021年5月27日 19:03

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. wana jewels

Avatar_small
lsm99 说:
2021年5月27日 19:58

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done. flavrx for sale online

Avatar_small
lsm99 说:
2021年5月28日 19:29

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. reseller panel instagram

Avatar_small
lsm99 说:
2021年6月14日 23:06

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. Buy Nembutal Pentobarbital China

Avatar_small
lsm99 说:
2021年7月07日 20:06

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. Where to Buy Dexedrine Online

Avatar_small
lsm99 说:
2021年7月10日 00:06

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. reico hundefutter bestellen

Avatar_small
ssali 说:
2022年9月26日 05:59

Great stuff. i am going to bookmark it, if you are looking for <a href="https://www.yaartelecom.nl/product-page/bluetooth-fm-transmitter-car-kit-bluetooth-adapter-autolader-muziek?lang=nl">bluetooth fm transmitter</a>
<a href="https://www.yaartelecom.nl/product-page/xiaomi-redmi-airdots-true-wireless-earbuds-bluetooth-5-0-earphone?lang=nl">xiaomi redmi airdots</a>
<a href="https://www.yaartelecom.nl/product-page/wifi-versterker-300-mbps?lang=nl">wifi versterker</a>
<a href="https://www.yaartelecom.nl/product-page/wifi-versterker-300-mbps?lang=nl">beste wifi versterker</a>
<a href="https://www.yaartelecom.nl/product-page/nokia-105-ds-2017-non-eu?lang=nl">nokia 105</a>
<a href="https://www.yaartelecom.nl/product-page/telefoniehouder-voorruit-verstelbaar-smartphone-holder?lang=nl">smartphone holder</a> in Netherlands, get in touch with us.

Avatar_small
ssali 说:
2022年9月26日 05:59

[url=https://www.yaartelecom.nl/product-page/bluetooth-fm-transmitter-car-kit-bluetooth-adapter-autolader-muziek?lang=nl]bluetooth fm transmitter[/url]
[url=https://www.yaartelecom.nl/product-page/xiaomi-redmi-airdots-true-wireless-earbuds-bluetooth-5-0-earphone?lang=nl]xiaomi redmi airdots[/url]
[url=https://www.yaartelecom.nl/product-page/wifi-versterker-300-mbps?lang=nl]wifi versterker[/url]
[url=https://www.yaartelecom.nl/product-page/wifi-versterker-300-mbps?lang=nl]beste wifi versterker[/url]
[url=https://www.yaartelecom.nl/product-page/nokia-105-ds-2017-non-eu?lang=nl]nokia 105[/url]
[url=https://www.yaartelecom.nl/product-page/telefoniehouder-voorruit-verstelbaar-smartphone-holder?lang=nl]smartphone holder[/url]

Avatar_small
ssali 说:
2022年9月26日 06:01

Great stuff. i am going to bookmark it, if you are looking for bluetooth fm transmitter, xiaomi redmi airdots, wifi versterker, beste wifi versterker, nokia 105, smartphone holder in Netherlands, get in touch with us.

 


登录 *


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