summaryrefslogtreecommitdiffstats
path: root/vim/plugrc/unite.rc.vim
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2015-07-30 23:07:17 +0200
committeryushyin <yushyin@saga>2015-07-30 23:37:33 +0200
commit99f1c17274bcea036aca040642bb8377e95f6fcd (patch)
treebeb1f9e3969647fa099834987e8510af037ba312 /vim/plugrc/unite.rc.vim
downloaddotfiles-99f1c17274bcea036aca040642bb8377e95f6fcd.tar.gz
dotfiles-99f1c17274bcea036aca040642bb8377e95f6fcd.tar.xz
Add vim config
Diffstat (limited to 'vim/plugrc/unite.rc.vim')
-rw-r--r--vim/plugrc/unite.rc.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/plugrc/unite.rc.vim b/vim/plugrc/unite.rc.vim
new file mode 100644
index 0000000..909c6dc
--- /dev/null
+++ b/vim/plugrc/unite.rc.vim
@@ -0,0 +1,7 @@
+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