-
Notifications
You must be signed in to change notification settings - Fork 5
PracticalVim Tip91
Shuai YUAN edited this page May 29, 2015
·
1 revision
- insert the contents of a register by typing `{register}`
- Problems:
- `\=`: evaluate a Vim script expression.
- `@{register}`: reference the contents of a register (`@0` returns the contents of the yank register, while `@"` returns the contents of the default register.)
Example:
equivalent to:
- `:let @/='Pragmatic Vim'`: sets the search pattern
- `:let @a='Practical Vim'`: sets the contents of the `a` register