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,30 +1,35 @@
--- ---
title: Vim-Unite title: Vim-Unite
category: Vim category: Vim
layout: 2017/sheet
--- ---
### Usage ### Usage
:Unite file ``` vim
:Unite file_rec/async:! :Unite file
:Unite tag :Unite file_rec/async:!
:Unite buffer :Unite tag
:Unite buffer
```
### Sources ### Sources
- `file/new` * `file/new`
- `file/async` * `file/async`
- `file_rec/async` * `file_rec/async`
- `file_rec/git` * `file_rec/git`
- `buffer` * `buffer`
- `buffer_tab` (current tab only) * `buffer_tab` (current tab only)
- `tab` * `tab`
- `register` * `register`
- `bookmark` * `bookmark`
- `source` * `source`
### Options ### Options
| Option | Description |
| -------------------------- | ----------------------------------------------------------- |
| `-start-insert` | | | `-start-insert` | |
| `-no-quit` | | | `-no-quit` | |
| `-winheight=10` | | | `-winheight=10` | |
@ -35,4 +40,4 @@ category: Vim
| `-vertical` | open as sidebar | | `-vertical` | open as sidebar |
| `-buffer-name=xxx -resume` | resume the next time it's called (faster) | | `-buffer-name=xxx -resume` | resume the next time it's called (faster) |
| `-input=` | reset input (use with -resume) | | `-input=` | reset input (use with -resume) |
| `-unique` | remove duplicates (eg, if using file_rec with file_mru) | | `-unique` | remove duplicates (eg, if using `file_rec` with `file_mru`) |