vim-unite: update layout

This commit is contained in:
Rico Sta. Cruz 2018-05-13 23:23:28 +08:00
parent e10acfa677
commit 9e915addde
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 30 additions and 25 deletions

View File

@ -1,38 +1,43 @@
---
title: Vim-Unite
category: Vim
layout: 2017/sheet
---
### Usage
:Unite file
:Unite file_rec/async:!
:Unite tag
:Unite buffer
``` vim
:Unite file
:Unite file_rec/async:!
:Unite tag
:Unite buffer
```
### Sources
- `file/new`
- `file/async`
- `file_rec/async`
- `file_rec/git`
- `buffer`
- `buffer_tab` (current tab only)
- `tab`
- `register`
- `bookmark`
- `source`
* `file/new`
* `file/async`
* `file_rec/async`
* `file_rec/git`
* `buffer`
* `buffer_tab` (current tab only)
* `tab`
* `register`
* `bookmark`
* `source`
### Options
| `-start-insert` | |
| `-no-quit` | |
| `-winheight=10` | |
| `-quick-match` | select by pressing asdf keys |
| `-winwidth=40` | use with vertical |
| `-no-split` | open in current buffer |
| `-auto-preview` | great for outline |
| `-vertical` | open as sidebar |
| `-buffer-name=xxx -resume` | resume the next time it's called (faster) |
| `-input=` | reset input (use with -resume) |
| `-unique` | remove duplicates (eg, if using file_rec with file_mru) |
| Option | Description |
| -------------------------- | ----------------------------------------------------------- |
| `-start-insert` | |
| `-no-quit` | |
| `-winheight=10` | |
| `-quick-match` | select by pressing asdf keys |
| `-winwidth=40` | use with vertical |
| `-no-split` | open in current buffer |
| `-auto-preview` | great for outline |
| `-vertical` | open as sidebar |
| `-buffer-name=xxx -resume` | resume the next time it's called (faster) |
| `-input=` | reset input (use with -resume) |
| `-unique` | remove duplicates (eg, if using `file_rec` with `file_mru`) |