summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-26 22:43:43 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-27 04:31:58 -0400
commit07aabe5ca5f31e6735df08ccd5714952e39cc0fd (patch)
tree95c1ea209f8d4e36a3389aa2b541aacf960caf9b /vim
parentfd75fb60f19c7b58eb9305affc3c830457ba46aa (diff)
downloadconf-07aabe5ca5f31e6735df08ccd5714952e39cc0fd.tar.gz
conf-07aabe5ca5f31e6735df08ccd5714952e39cc0fd.zip
more unite configuration
Diffstat (limited to 'vim')
m---------vim/bundle/vimproc0
-rw-r--r--vim/ftplugin/perl.vim2
-rw-r--r--vim/ftplugin/scala.vim2
3 files changed, 2 insertions, 2 deletions
diff --git a/vim/bundle/vimproc b/vim/bundle/vimproc
new file mode 160000
+Subproject 987c6182b6236f9bae0ea41affcc2af41316282
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 13ba40b..7eb1862 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>
-nmap <silent> t :Unite -start-insert -silent -input=lib/ buffer file_rec<CR>
+call unite#custom#profile('default', '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 eeaed87..a222ee0 100644
--- a/vim/ftplugin/scala.vim
+++ b/vim/ftplugin/scala.vim
@@ -1 +1 @@
-nmap <silent> t :Unite -start-insert -silent -input=src/ buffer file_rec<CR>
+call unite#custom#profile('default', 'context', {'input' : 'src/**/'})