Personal Knowledge Base
Friday, October 21, 2011
Vi command tip
ctrl-Z
go back to the shell,use
fg
return to vi
direct jump into a line
:100
use
:sh
create a new shell,exit this shell will return back to vi
use -R open file read only
:set number
will dislay line number,
set nonumber
close line number display
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment