2015年4月9日 星期四

vi

*
:x<Return>quit vi, writing out modified file to file named in original invocation
:wq<Return>quit vi, writing out modified file to file named in original invocation
:q<Return>quit (or exit) vi*
:q!<Return>quit vi even though latest changes have not been saved for this vi call





*
i insert text before cursor, until <Esc> hit
insert text at beginning of current line, until <Esc> hit

*
append text after cursor, until <Esc> hit
append text to end of current line, until <Esc> hit

*
open and put text in a new line below current line, until <Esc> hit

*
open and put text in a new line above current line, until <Esc> hit





沒有留言:

張貼留言