vim- select all, delete, copy

Select (highlighted ): Press esc, then ggvG or ggVG

Copy all: press esc, and then ggyG

Delete all: press esc, and then dG

 to set the tab terminal 4 spaces

echo "set tabstop=4">>~/.vimrc

 

Display line numbers: echo "set nu" >> ~ / .vimrc

 

Guess you like

Origin www.cnblogs.com/rrcj/p/11372176.html