diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-27 23:04:10 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-10-27 23:57:33 -0400 |
commit | dad82f6d1eaf565300fc6833f6da43b2f1097801 (patch) | |
tree | 5bca40689ad3c2be1f1c17acb7df117f31fe8413 | |
parent | 09298519c4ca9c084096e049198ee70ed5348e47 (diff) | |
download | conf-dad82f6d1eaf565300fc6833f6da43b2f1097801.tar.gz conf-dad82f6d1eaf565300fc6833f6da43b2f1097801.zip |
slightly better default unite search pattern
what i actually want is '^lib/ ', but that's broken currently (see
https://github.com/Shougo/unite.vim/issues/405)
-rw-r--r-- | vim/ftplugin/perl.vim | 2 | ||||
-rw-r--r-- | vim/ftplugin/scala.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim index 8a14cac..20c6c55 100644 --- a/vim/ftplugin/perl.vim +++ b/vim/ftplugin/perl.vim @@ -20,7 +20,7 @@ vmap <buffer> <silent>K :call Help(1, [':'], '<SID>perldoc')<CR> nmap <buffer> <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR> " XXX: <cfile> is wrong here, need to do something like i do for Help "vmap <buffer> <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR> -call unite#custom#profile('with_dir', 'context', {'input' : 'lib/**/'}) +call unite#custom#profile('with_dir', 'context', {'input' : 'lib/ '}) function! s:unpostfix() let postop_pattern = '\<\(if\|unless\|while\|until\|for\)\>' diff --git a/vim/ftplugin/scala.vim b/vim/ftplugin/scala.vim index 7a2c4cb..17f8200 100644 --- a/vim/ftplugin/scala.vim +++ b/vim/ftplugin/scala.vim @@ -1 +1 @@ -call unite#custom#profile('with_dir', 'context', {'input' : 'src/**/'}) +call unite#custom#profile('with_dir', 'context', {'input' : 'src/ '}) |