Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tips for vim
- ### Select and copy
- ##### Select and copy all lines from open file to clipboard (yank)
- #### **`g`** **`g`** **`"`** **`*`** **`G`**
- Explanation:
- * `gg`- get the cursor to the first character of the file
- * `"*y` - start a yank command to the register `*` from the first line, until..
- * `G`- go to the end of the file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement