| `b` | A block [( |
| `B` | A block in [{ |
| `t` | A XML tag block |
### Examples
| `vip` | Select paragraph |
| ----------- | ---------------------------------- |
| `vipipipip` | Select more |
| `yip` | Yank inner paragraph |
| `yap` | Yank paragraph (including newline) |
| `dip` | Delete inner paragraph |
| `cip` | Change inner paragraph |
See [Operators](https://devhints.io/vim#operators) for other things you can do.
## Misc
### Folds
| `zo` */* `zO` | Open |
| ------------- | ---------------------------- |
| `zc` */* `zC` | Close |
| `za` */* `zA` | Toggle |
| `zv` | Open folds for this line |
| `zM` | Close all |
| `zR` | Open all |
| `zm` | Fold more *(foldlevel += 1)* |
| `zr` | Fold less *(foldlevel -= 1)* |
| `zx` | Update folds |
Uppercase ones are recursive (eg, `zO` is open recursively).
### Navigation
| `[(` `[{` `[<` | previous `(` or `{` or `<` |
| -------------- | -------------------------- |
| `])` | next |
| `[m` | previous method start |
| `[M` | previous method end |
### Jumping
| `<C-O>` | Go back to previous location |
| ------- | ---------------------------- |
| `<C-I>` | Go forward |
| `gf` | go to file in cursor |
### Counters
| `<C-A>` | increment number |
| ------- | ---------------- |
| `<C-X>` | decrement |
### Windows
| `z{height}<Cr>` | Resize pane to `{height}` lines tall |
| --------------- | ------------------------------------ |
| | |
### Tags
| `:tag Classname` | Jump to first definition of Classname |
| -------------------- | ---------------------------------------- |
| `<C-]>` | Jump to definition |
| `g]` | See all definitions |
| `<C-T>` | Go back to last tag |
| `<C-O> <C-I>` | Back/forward |
| `:tselect Classname` | Find definitions of Classname |
| `:tjump Classname` | Find definitions of Classname (auto-select 1st) |
### Case
| `~` | toggle case (Case => cASE) |
| ----- | ------------------------------------ |
| `gU` | uppercase |
| `gu` | lowercase |
| `gUU` | uppercase current line (also `gUgU`) |
| `guu` | lowercase current line (also `gugu`) |
Do these in visual or normal mode.
### Marks
| ``^` | Last position of cursor in insert mode |
| ---- | ---------------------------------------- |
| ``.` | Last change |
| ```` | Last jump |
| `ma` | Mark this cursor position as `a` |
| ``a` | Jump to the cursor position `a` |
| `'a` | Jump to the beginning of the line with position `a` |
### Misc
| `.` | repeat last command |
| ---- | ---------------------------------------- |
| `]p` | paste under the current indentation level |
| `zz` | Center this line |
### Command line
| `<C-R><C-W>` | insert current word into the command line |
| ------------ | ---------------------------------------- |
| `<C-R>"` | paste from “ register |
### Text alignment