Personal tools
You are here: Home 博客群 古月的程序人生 Vi中实现多文件方便切换编辑
古月的程序人生
« May 2008 »
Su Mo Tu We Th Fr Sa
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Categories:
CSS (0)
ECMAScript (0)
Java (0)
Plone (0)
Python (1)
Vi (3)
Zope (0)
wxPython (0)
人生思考 (0)
工作 (0)
心情 (1)
心理学 (0)
新尝试 (0)
Log in


Forgot your password?
 
Document Actions

Vi中实现多文件方便切换编辑 Vi中实现多文件方便切换编辑

Submitted by livahu. on 2007-11-01 14:27. Vi
Vi中实现多文件方便切换编辑

:e 编辑新文件,如:

:e test.rst

:b 回到先前的缓存中的文件,后不一定加文件全名,只要能保证唯一性,如:

:b te*

:ls 查看历史记录

:split 分屏显示两个文件

小技巧
可以用在ls中查到的索引数字,比如3,则 3 , ctrl +^ 可以进入缓存的第3个文件

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: