Vim advanced: better, faster and stronger today learned @ left ear mouse's blog "vim concise strategy" and learned a lot of commands that have never been used, I believe that vim's powerful command line is quite practical and efficient for programmers. Sort out your ideas. Enter www.2cto.com 1. first stage: a: insert x at the cursor: Delete the character hjkl where the cursor is located: Replace the cursor key 2. second stage: o: insert a new row after the current Row O: Insert a new row cw before the current row: Replace the character 0 from the cursor position to the end of the word to the line header $: to the end of the line www.2cto.com ^: open a file: saveas path/to/file and save it as: bn: when bp opens multiple files at the same time, switch the next or next file ZZ: exit and save 3: stronger :. repeat the previous command gu: Small write gU change uppercase w: To the word header e: to the end of the word %: matching brackets move * and # match the cursor here, move the cursor to the next or previous matching WORD 4: faster: <start position> command <end position> v mode: ctrl + v quick operation ctrl + d move the selected word downward, j. concatenate the selected row into one line = auto indent