-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimunite
More file actions
27 lines (19 loc) · 806 Bytes
/
.vimunite
File metadata and controls
27 lines (19 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
" The prefix key.
nnoremap [unite] <Nop>
nmap f [unite]
nnoremap <silent> [unite]f :<C-u>Unite
\ -buffer-name=files file<CR>
nnoremap <silent> [unite]g :<C-u>Unite
\ -start-insert -buffer-name=files file_rec/git<CR>
nnoremap <silent> [unite]s :<C-u>Unite
\ -buffer-name=files grep<CR>
nnoremap <silent> [unite]l :<C-u>Unite
\ -start-insert line<CR>
nnoremap [unite]u :<C-u>Unite source<CR>
nnoremap <silent> [unite]r :<C-u>UniteResume<CR>
nnoremap [unite]b :<C-u>Unite buffer<CR>
let g:unite_source_grep_command = 'ag'
let g:unite_source_grep_default_opts =
\ '--line-numbers --nocolor --nogroup --hidden --ignore ' .
\ '''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'' ' .
\ '--ignore ''node_modules'' --ignore ''.tags'' '