To delete all lines in vim, use this command:
:1,$d
This vim “delete all lines” command can be read like this:
The : character starts vim’s “last line mode.”
The 1 means, “starting at line 1”
The ,$ means, “until the end of the file”
The d means, “delete”
2019年2月24日 星期日
2019年2月20日 星期三
訂閱:
文章 (Atom)
Docker Command
#1 pull images $docker pull chusiang/takaojs1607 #2 list images $docker images #3.1 run docker $docker run -it ### bash #3.2 run do...
-
git commands clone branch checkout branch##git to switch branch add . commit -m "####" push git push --set-upstream origi...
-
#1 pull images $docker pull chusiang/takaojs1607 #2 list images $docker images #3.1 run docker $docker run -it ### bash #3.2 run do...