Back

vim速查卡片

|

需要相当相当相当长的时间才能熟练掌握的vim需要一张速查卡片。底下的图片是看不清的,你需要到[这里](https://www.skylast.com/blog/wp-content/uploads/2011/09/vim-cheatsheet.png)(右键另存为)下载高分辨率【3301 x 2550】版。最好去找个打印店打出来就完美了。
![](https://r2.livy.fun/2025/12/21/6402d0c0a9d93f4341f5f386180509fd.jpg)
图中的颜色用来区分使用级别:

* Green = 存活级
* Yellow = 感觉良好
* Orange / Blue = 高级
* Red = 专家级

来源:酷壳 - [CoolShell.cn](http://coolshell.cn/),链接:http://coolshell.cn/articles/5479.html,原文还提供了PDF格式。
顺便记下lftp的常用命令吧:
`lftp username:password@server:port #登录到某站点。       
get #下载单个文件。
mget -c *.mp3 #批量下载,支持通配符,两个命令均有-c选项,和wget一样为断点续传
mirror xxoo/ ooxx/ #镜像复制,用来下载目录的,把站点上的xxoo目录整个下载为ooxx.
pget -c -n 5 file.tar.gz  #多线程下载,以5个线程下载file.tar.gz,-c为断电续传.`还有上传命令:
put, mput, 一个是上传某个文件,另一个是上传某些文件。
lftp还提供了强大的书签功能:
`bookmark add someplace`把当前登录的站点以someplace为书签名存储下来,下次可以在shell下输入:
lftp someplace即可自动恢复到加入书签时的状态。
还可以修改书签,lftp命令行下输入:
`bookmark edit`lcd用来切换本地目录,【!+command】在本地执行命令,例如!ls用来打印本地文件列表。
注:可以使用[Cygwin](http://www.cygwin.com/)在windows下使用linux原生软件,感觉还不错。

No comments yet

Leave a comment

About me

I live in Tasmania, an island a little far from the rest of the world and very close to the sea.
Father of two little girls, have two puppies.

Work

Work in IT industry, AI is my working partner.