skip to main
|
skip to sidebar
Vi Command Help
2009年2月3日星期二
Go to the end of file
就是利用 command line ": 行數" 的方法,
然後利用 "$" 代表"最後":
先在command mode 按 ":" 這樣就會在最下面一行出現 ":"
然後再輸入 "$" 就代表最後一行。
按 Enter
^ 代表開頭
$ 代表最後
所以
:^
會到 file 的開頭
:$
會到 file 的最後
0 意見:
張貼意見
較新的文章
首頁
訂閱:
張貼意見 (Atom)
advance
(6)
bookmark
(2)
browse
(7)
cheatsheet
(1)
copy-paste
(1)
diff
(4)
edit
(10)
files
(5)
Format
(4)
FormatConvert
(2)
gvim
(2)
indent
(1)
Moving
(2)
plugin
(2)
search
(4)
shell
(3)
show
(9)
網誌存檔
►
2012
(4)
►
五月
(2)
gvim : remember the color scheme
gvim. single instance & open in tab
►
一月
(2)
ctags
Show current file name in status line
►
2011
(8)
►
十月
(3)
Session : remember the state
cscope : browsing codes with cscope
tabs : brows multiple files with tabs
►
六月
(2)
重新排版 - indent
diff , ignore white space
►
三月
(2)
go to shell, temporary
vim for windows 64bit
►
一月
(1)
multiple windows
►
2010
(8)
►
十二月
(1)
Change vimdiff color
►
十一月
(2)
Search And Replace
執行 shell command 一下下
►
十月
(3)
remove the line ending ^M mark
DirDiff -- compare two folders
Convert Code to Html format
►
九月
(1)
browse codes using vim
►
八月
(1)
edit multiple files
▼
2009
(9)
►
九月
(2)
編輯 binary file
Show Line Number
►
三月
(4)
Mark and Jump 標記與在標記間跳躍
Bookmark : Vimcheatsheet - printable version
Copy, Paste - block
Undo - u
▼
二月
(3)
Auto Indent for C style
利用Vi 的 diff 功能,配合 subversion 作 revision diff 顯示
Go to the end of file
0 意見:
張貼意見