diff options
author | arobase-che <girbenhed@gmail.com> | 2016-01-10 19:07:49 +0100 |
---|---|---|
committer | arobase-che <girbenhed@gmail.com> | 2016-01-10 19:07:49 +0100 |
commit | 68c941406e06fe5fc89386d9c4ab20345c5e185b (patch) | |
tree | ee0f27ff66ad1e73b56a5b0cc6cbf14a9f1023c1 /plugin/plugin_unite.vim |
Init commit
Diffstat (limited to 'plugin/plugin_unite.vim')
-rwxr-xr-x | plugin/plugin_unite.vim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugin/plugin_unite.vim b/plugin/plugin_unite.vim new file mode 100755 index 0000000..21e8861 --- /dev/null +++ b/plugin/plugin_unite.vim @@ -0,0 +1,15 @@ +" plugin_unite.vim + +" Bindings + +" Search files in current dir +nnoremap <C-p> :Unite -start-insert file_rec/async<CR> +" Find pattern in current directory +nnoremap <Space>/ :Unite grep:.<CR> +" Search in buffers +nnoremap <Space>s :Unite buffer<CR> + +" Search word under cursor +noremap <silent> <Space>* :Unite grep:.::<C-R><C-w><CR> + +let g:unite_source_rec_async_command = 'ag --follow --nocolor --nogroup --hidden -g ""' |