惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Cloudbric
Cloudbric
P
Palo Alto Networks Blog
T
Threatpost
T
Tor Project blog
T
Tenable Blog
AWS News Blog
AWS News Blog
Project Zero
Project Zero
L
LangChain Blog
Cyberwarzone
Cyberwarzone
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
C
CERT Recently Published Vulnerability Notes
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Latest
Security Latest
云风的 BLOG
云风的 BLOG
I
Intezer
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
MongoDB | Blog
MongoDB | Blog
aimingoo的专栏
aimingoo的专栏
K
Kaspersky official blog
Jina AI
Jina AI
N
News | PayPal Newsroom
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
TaoSecurity Blog
TaoSecurity Blog
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
IT之家
IT之家
Forbes - Security
Forbes - Security
The Hacker News
The Hacker News
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
Y
Y Combinator Blog

博客园 - liuzhikun-cn

[Z]论意志与毅力 实模式、保护模式和虚拟8086模式 好习惯改变一生 给IT人——谈谈IT人的发展 经典故事86:只要弯一弯腰 qmail常见错误标志 人生有时如开车--CR-V 7个好习惯 人生的十二句经典领悟 经典故事83 Qmail 常用资料 makefile error:missing separator mysql4.1.7 密码认证 Client does not support authentication protocol Linux下添加硬盘 ◆[转天极网]C++大师Stan Lippman:我对中国程序员的忠告 - liuzhikun-cn - 博客园 crontab 续 ◆[转CSDN]学编程,决不可心浮气燥。 Fly With Your Dream 未整理
VI操作技巧
liuzhikun-cn · 2005-07-12 · via 博客园 - liuzhikun-cn

VI真是个超级强大玩意,使用的时间长了,习惯他之后,用Editplus都企图想使用hjkl移动了:)

VI手册的中文版本:
http://vimcdoc.sourceforge.net/doc/usr_toc.html#usr_toc.txt

建议经常翻阅,温故而知新!

下面是我使用VI的时候,积累的一些小经验,其实都是从网上找来的,为了记住,特作积累。

1、批量替换:
:%s/from/to/g

2、批量添加行注释#
:.,+10 s/^/#/g

3、VI中汉字显示成xc8xf0字样的解决办法
FreeBSD : 
在 /etc/profile 中加入下面两行即可 
LANG=it_IT.ISO_8859-1 
export LANG 

SCO UNIX 略有不同,该加入这两行: 
LANG=english_us.8859 
export LANG    


文章来源:http://srni.qmailcn.org/plog/post/1/8