vim切换字母大小写
以前在用emacs时里面有个功能觉得很好,就是切换字母大小写,C+t就可以很容易的改变字母的大小写。用VIM后,找了半天没找到这个功能对应的键。翻了下手册才发现,原来VIM可以做的更简单,更强大。下面是些小技巧。
~ - 将光标下的字母改变大小写
3~ - 将下3行的字母改变其大小写
g~~ - 改变当前行字母的大小写
U - 将可视模式下的字母全改成大写字母
gUU - 将当前行的字母改成大写
u - 将可视模式下的字母全改成小写
guu - 将当前行的字母全改成小写
gUaw - 将光标下的单词改成大写。
guaw - 将光标下的单词改成小写。
更多技巧可以查看文档
:h ~
2008年8月10日 06:43
emacs 下还有个alt+c变成首字母大写的。也非常方便。vim就好像没有这样的功能。如果有,email我。谢谢。
2008年10月01日 12:53
怎么会没有?
b~
就可以了。b是跳到首字母 ~改变当前字母大小写
2010年2月09日 22:55
这个很有爱!原来还有这个功能,一直没用过,之前改还在想有没有这功能,一直忘记了.太牛B..记起了
2010年2月09日 22:56
guiw果然很有爱..
2022年8月27日 22:36
Netflix Student Discount | Only 5 steps to Redeem It For Free 2021. Netflix has no such student discounts. So if you are on a very tight budget, you may want to consider signing up for the trial period. netflix student account Request Netflix student discount. Sorry, Netflix isn't offering a student discount through Student Beans right now. Register now netflix student account.
2022年9月17日 22:00
UK Board Model Paper 2023 Class 11 Pdf Download for School Education Board of Uttarakhand Intermediate 1st Year Solved Question Bank for Arts, Science & Commerce Stream Theory, Objective (MCQ) Question for Paper-1 & Paper-2 Exams at UK Board Model Paper Class 11 Uttarakhand Board of School Education (UBSE) have introduced the Higher Secondary Level Intermediate Education Class 11th Standard Arts, Science and Commerce Stream Subject wide Sample Paper suggestions with Answers for all Languages & Subject of the Course to know the new exam scheme or question pattern of Paper-1 & Paper-2 exams of the First Year Intermediate.
2022年10月26日 23:31
Education scholarships are significant facilities for many students in WB. The majority of students have excellent qualifications but cannot afford proper education. The high school fee is quite a challenge leading to school dropout. Oasis Scholarship The West Bengal government through the Backward classes welfare department and tribal development department. Have introduced the Oasis scholarship online program to help WB student education-wise.
2022年11月09日 12:17
這太棒了,我覺得每個人都會發現這些信息很有用。
2022年11月15日 02:38
Punjab National Bank Net banking login is an online platform that allows customers to access banking services such as account details, online transactions (withdraw and deposit of cash), and balance checking. PNB Net Banking login The service is open to registered customers and is easily accessible. The PNB bank offers the net banking services to its customers who can transact anywhere without the need to visit the bank.
2022年11月16日 12:11
This is a really good article. I think this is one of the best entries I've ever read. Your work is outstanding and motivating. I appreciate you.
2022年11月17日 15:44
All or some of these Linux command hints may be common knowledge to you. If so, please feel free to share your go-to tips below.
2022年12月13日 18:55
This is an excellent piece of writing. This is without a doubt one of the most impressive submissions I've ever seen. Your work is remarkable, and it inspires me to do better. I admire you.
2022年12月22日 22:50
In Telangana state, we have different taxes and billing systems that every citizen has to follow, and for Hyderabad, the Water bill is a necessity that is billed every month to all individuals who have a water connection. HMWSSB Water Bill Payment The Hyderabad Metropolitan Water Supply & Sewerage Board is responsible for managing the water amenity in Hyderabad along with the water bill management. So, if you have a water connection then you have to pay your GHMC Water Bill every month.