add :body, :text
add :age, :integer
add :price, :float
- add :price, :float, precision: 10, scale: 2
+ add :price, :float
+ add :price, :decimal, precision: 10, scale: 2
add :published_at, :utc_datetime
add :group_id, references(:groups)
add :object, :json
| `.` | Repeat last command |
| `]p` | Paste under the current indentation level |
| --- | --- |
-| `:ff=unix` | Convert Windows line endings to Unix line endings |
+| `:set ff=unix` | Convert Windows line endings to Unix line endings |
{: .-shortcuts}
### Command line
#### Arguments can be passed
```html
<button @click="addToCart(product)">...
-}
```
#### To prevent default behavior (e.g. page reload)