summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/dein.toml4
-rw-r--r--vim/plugrc/unite.rc.vim8
-rw-r--r--vim/vimrc18
3 files changed, 7 insertions, 23 deletions
diff --git a/vim/dein.toml b/vim/dein.toml
index 8ec458e..5f07293 100644
--- a/vim/dein.toml
+++ b/vim/dein.toml
@@ -6,9 +6,9 @@ repo = 'Shougo/vimproc.vim'
build = 'make'
[[plugins]]
-repo = 'Shougo/unite.vim'
+repo = 'Shougo/denite.nvim'
lazy = 1
-on_cmd = 'Unite'
+on_cmd = 'Denite'
[[plugins]]
repo = 'Shougo/neomru.vim'
diff --git a/vim/plugrc/unite.rc.vim b/vim/plugrc/unite.rc.vim
deleted file mode 100644
index dbe55b7..0000000
--- a/vim/plugrc/unite.rc.vim
+++ /dev/null
@@ -1,8 +0,0 @@
-let g:unite_redraw_hold_candidates = 50000
-call unite#filters#matcher_default#use(['matcher_fuzzy'])
-autocmd FileType unite call s:unite_my_settings()
-function! s:unite_my_settings()
- nmap <buffer> <C-p> <Plug>(unite_toggle_auto_preview)
- imap <buffer> <C-j> <Plug>(unite_select_next_line)
- imap <buffer> <C-k> <Plug>(unite_select_previous_line)
-endfunction
diff --git a/vim/vimrc b/vim/vimrc
index 2a3f9d2..9ab42cd 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -49,19 +49,11 @@ catch /E117:/ " dein not installed
quit
endtry
-if dein#tap('unite.vim')
- nnoremap <leader>g :<C-u>Unite grep
- \ -auto-preview
- \ -no-split
- \ -no-empty<CR>
- nnoremap <leader>f :<C-u>Unite file_mru file/async file_rec/async
- \ -start-insert <CR>
- nnoremap <leader>l :<C-u>Unite buffer tab
- \ -no-split <CR>
- nnoremap <leader>r :<C-u>UniteResume
- \ -no-start-insert
- \ -force-redraw<CR>
- call s:hook_source()
+if dein#tap('denite.nvim')
+ nnoremap <leader>g :<C-u>Denite grep -auto-preview -split=no -no-empty<CR>
+ nnoremap <leader>f :<C-u>Denite file_rec -mode=insert<CR>
+ nnoremap <leader>l :<C-u>Denite buffer -split=no<CR>
+ nnoremap <leader>r :<C-u>Denite -resume -refresh<CR>
endif
if dein#tap('vimfiler.vim')
call s:hook_source()