How do I copy all rows of search results
- Qaq. Type qaq directly in command mode. The purpose is to clear the register cache
- : g/ABC/y A. Indicates the search for “ABC” and copies the row to register A
- “Ap. Paste the value of the register
Log filtering. You can run the tabNew new_name. TXT command to add a file named new_name. Then “AP copy and then :w save
View files in hexadecimal with VIM/return to binary mode
- :! % XXD Displays the hexadecimal mode
- :! % XXD -r returns to binary mode
Refreshes open text
- :e