Skip to content

Commit

Permalink
Change hotkey as suggested by Shougo
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jan 13, 2014
1 parent 6b35fcd commit c4b8186
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions autoload/unite/sources/cmdmatch.vim
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ fu! unite#sources#cmdmatch#define()
retu s:unite_source
endf

call unite#define_source(s:unite_source)
call unite#custom#profile('source/common', 'ignorecase', 1)
"call unite#custom#source('cmdmatch', 'filters',['matcher_fuzzy'])

cno <c-o> <c-f>^"vyg_ddo<cr>:Unite -buffer-name=cmdmatch -direction=botr -start-insert -input=<c-r>=strpart(@v, strridx(@v, ' ')+1)<cr> cmdmatch:<c-r>=escape(@v,' ')<cr><cr>
if !hasmapto('<Plug>(unite_cmdmatch_complete)')
cm <c-o> <Plug>(unite_cmdmatch_complete)
en
cno <Plug>(unite_cmdmatch_complete) <c-f>^"vyg_ddo<cr>:Unite -buffer-name=cmdmatch -direction=botr -start-insert -input=<c-r>=strpart(@v, strridx(@v, ' ')+1)<cr> cmdmatch:<c-r>=escape(@v,' ')<cr><cr>

0 comments on commit c4b8186

Please sign in to comment.