All of my important config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.1 KiB

  1. let g:deoplete#ignore_sources = get(g:, 'deoplete#ignore_sources', {})
  2. let g:deoplete#ignore_sources.php = ['omni']
  3. " {{{ phpactor
  4. " Include use statement
  5. nmap <Leader>u :call phpactor#UseAdd()<CR>
  6. " Invoke the context menu
  7. nmap <Leader>mm :call phpactor#ContextMenu()<CR>
  8. " Invoke the navigation menu
  9. nmap <Leader>nn :call phpactor#Navigate()<CR>
  10. " Goto definition of class or class member under the cursor
  11. nmap <Leader>o :call phpactor#GotoDefinition()<CR>
  12. " Show brief information about the symbol under the cursor
  13. nmap <Leader>K :call phpactor#Hover()<CR>
  14. " Transform the classes in the current file
  15. nmap <Leader>tt :call phpactor#Transform()<CR>
  16. " Generate a new class (replacing the current file)
  17. nmap <Leader>cc :call phpactor#ClassNew()<CR>
  18. " Extract expression (normal mode)
  19. nmap <silent><Leader>ee :call phpactor#ExtractExpression(v:false)<CR>
  20. " Extract expression from selection
  21. vmap <silent><Leader>ee :<C-U>call phpactor#ExtractExpression(v:true)<CR>
  22. " Extract method from selection
  23. vmap <silent><Leader>em :<C-U>call phpactor#ExtractMethod()<CR>
  24. "}}}
  25. nnoremap <leader>h :call PhpDocSingle()<CR>