仓酷云
标题:
来一发凌驾130个你必要懂得的vim命令
[打印本页]
作者:
逍遥一派
时间:
2015-1-15 22:16
标题:
来一发凌驾130个你必要懂得的vim命令
要明白学好linux不是一件一蹴而就的事,一定要能坚持使用它,特别是在使用初期。
从1970年入手下手,vi和vim就成了程序员最喜好的文本编纂器之一。5年前,我写了一个问本人名为“每一个程序员都应当晓得的100个vim命令”此次算是之前那篇文章的改善版,但愿你会喜好。
登录/注册后可看大图
20130813140113807726.JPG
(28.99 KB, 下载次数: 14)
下载附件
保存到相册
来一发凌驾130个你必要懂得的vim命令
2015-1-15 22:16 上传
基本
:efilenameOpenfilenameforedition:wSavefile:qExitVim:q!Quitwithoutsaving:xWritefile(ifchangeshasbeenmade)andexit:savfilenameSavesfileasfilename.Repeatsthelastchangemadeinnormalmode5.Repeats5timesthelastchangemadeinnormalmode
在文件中挪动
korUpArrowmovethecursoruponelinejorDownArrowmovethecursordownonelineemovethecursortotheendofthewordbmovethecursortothebeginingoftheword0movethecursortothebeginingofthelineGmovethecursortotheendofthelineggmovethecursortothebeginingofthefileLmovethecursortotheendofthefile:59movecursortoline59.Replace59bythedesiredlinenumber.20|movecursortocolumn20.%Movecursortomatchingparenthesis[[Jumptofunctionstart[{Jumptoblockstart
剪切、复制和粘贴
yCopytheselectedtexttoclipboardpPasteclipboardcontentsddCutcurrentlineyyCopycurrentliney$CopytoendoflineDCuttoendofline
搜刮
/wordSearchwordfromtoptobottom?wordSearchwordfrombottomtotop*Searchthewordundercursor/cstringSearchSTRINGorstring,caseinsensitive/jo[ha]nSearchjohnorjoan/<theSearchthe,theatreorthen/the>Searchtheorbreathe/<the>Searchthe/<
作者:
金色的骷髅
时间:
2015-1-17 17:25
虽然大家都比较喜欢漂亮的mm,但是在学linux的过程中,还是要多和“男人”接触一下:P遇到问题的时候,出来看说和上网查之外,就是要多用linux下的man命令找找帮助。
作者:
逍遥一派
时间:
2015-1-22 15:50
为了更好的学习这门课程,我不仅课上认真听讲,课下也努力学习,为此还在自己的电脑上安装了Ubuntu系统。
作者:
灵魂腐蚀
时间:
2015-1-31 11:32
熟读Linux系统有关知识,如系统目录树,有关内容可购书阅读或搜索论坛。
作者:
冷月葬花魂
时间:
2015-2-6 19:29
在学习linux的工程中,linux学习方法有很多种,这里是小编的学习心得,给大家拿出来分享一下。
作者:
小魔女
时间:
2015-2-18 10:22
熟悉并掌握安装Linux,安装是学习的前提。目前较常见的安装方法有二种:
作者:
飘飘悠悠
时间:
2015-3-6 06:10
Linux只是个内核!这点很重要,你必须理解这一点。只有一个内核是不能构成一个操作系统的。
作者:
若天明
时间:
2015-3-12 21:48
其中不乏很多IT精英的心血。我们学透以后更可以做成自己的OS!?
作者:
蒙在股里
时间:
2015-3-20 04:58
即便是非英语国家的人发布技术文档,Linux也都首先翻译成英语在国际学术杂志和网络上发表。
欢迎光临 仓酷云 (http://ckuyun.com/)
Powered by Discuz! X3.2