skip to main
|
skip to sidebar
Vi Command Help
2011年3月21日星期一
go to shell, temporary
暫時退出vi,開啟shell
Ctrl-z
這樣就會保留 vi 的 edit sesstion,暫時回到 shell。
當執行玩 shell command 後,用:
$fg
加上 enter
這樣就會回到剛剛的 vi 畫面了。
這樣看來,Ctrl-Z 就跟一般的console一樣,是把vi 放到background..
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 意見:
張貼意見