1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 01:10:05 +08:00
SpaceVim/docs/layers/unite.md
2018-03-14 21:23:52 +08:00

46 lines
3.1 KiB
Markdown

---
title: "SpaceVim unite layer"
description: "This layers provide a heavily customized Unite centric work-flow"
---
# [SpaceVim Layers:](https://spacevim.org/layers) unite
## Intro
This layer is a heavily customized warpper for unite.vim and unite sources.
![unite](https://cloud.githubusercontent.com/assets/13142418/23955542/26fd5348-09d5-11e7-8253-1f43991439b0.png)
## Configuration
This is a fuzzy finder layer for SpaceVim, and it is based on unite.vim. In SpaceVim all fuzzy finder layer use same key bindings:
## Key bindings
| Key | Mode | Action |
| ------------------- | :-----------: | ---------------------------------------------------------- |
| `[unite]`+`r` | Normal | Resumes Unite window |
| `[unite]`+`f` | Normal | Opens Unite file recursive search |
| `[unite]`+`i` | Normal | Opens Unite git file search |
| `[unite]`+`g` | Normal | Opens Unite grep with ag (the_silver_searcher) |
| `[unite]`+`u` | Normal | Opens Unite source |
| `[unite]`+`t` | Normal | Opens Unite tag |
| `[unite]`+`T` | Normal | Opens Unite tag/include |
| `[unite]`+`l` | Normal | Opens Unite location list |
| `[unite]`+`q` | Normal | Opens Unite quick fix |
| `[unite]`+`e` | Normal | Opens Unite register |
| `[unite]`+`j` | Normal | Opens Unite jump, change |
| `[unite]`+`h` | Normal | Opens Unite history/yank |
| `[unite]`+`s` | Normal | Opens Unite session |
| `[unite]`+`n` | Normal | Opens Unite session/new |
| `[unite]`+`o` | Normal | Opens Unite outline |
| `[unite]`+`c` | Normal | Opens Unite buffer bookmark file in current directory |
| `[unite]`+`b` | Normal | Opens Unite buffer bookmark file in buffer directory |
| `[unite]`+`ma` | Normal | Opens Unite mapping |
| `[unite]`+`<space>` | Normal | Opens Unite menu:CustomKeyMaps |
| `[unite]`+`me` | Normal | Opens Unite output messages |
| `<leader>`+`bl` | Normal | Opens Unite buffers, mru, bookmark |
| `<leader>`+`ta` | Normal | Opens Unite tab |
| `<leader>`+`ugf` | Normal | Opens Unite file with word at cursor |
| `<leader>`+`ugt` | Normal/visual | Opens Unite tag with word at cursor |