Skip to content
Shin Okada edited this page Aug 15, 2015 · 1 revision

Read the doc. There are many examples.

:Unite buffer # browse a list of the currently opened buffers
:Unite file # browse the list of files in the current directory
:Unite file_rec # recursively list files under the current directory

http://goo.gl/ck525 Note: with large projects this may cause some performance problems. Normally it is recommended to use |unite-source-file_rec/async| source, which requires |vimproc|.

nnoremap <leader>r :<C-u>Unite -start-insert file_rec/async:!<CR>


nnoremap <space>/ :Unite grep:. <CR>

<space>/ will show patter in the command area. Type a word to grep from the directory.

let g:unite_source_history_yank_enable=1
nnoremap <leader>y :<C-u>Unite history/yank<CR>


nnoremap <C-l> :Unite file file_rec buffer file_mru everything<CR>
nnoremap <C-;> :Unite line<CR>

Read

Clone this wiki locally