Repository navigation
Expand file tree
/
Copy pathmappings.vim
More file actions
34 lines (34 loc) · 1.54 KB
/
Copy pathmappings.vim
File metadata and controls
34 lines (34 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
""
" @section Mappings
"
" Phpactor does not assume any mappings automatically, the following mappings
" are available for you to copy: >
"
" augroup PhpactorMappings
" au!
" au FileType php nmap <buffer> <Leader>u :PhpactorImportClass<CR>
" au FileType php nmap <buffer> <Leader>e :PhpactorClassExpand<CR>
" au FileType php nmap <buffer> <Leader>ua :PhpactorImportMissingClasses<CR>
" au FileType php nmap <buffer> <Leader>mm :PhpactorContextMenu<CR>
" au FileType php nmap <buffer> <Leader>nn :PhpactorNavigate<CR>
" au FileType php,cucumber nmap <buffer> <Leader>o
" \ :PhpactorGotoDefinition edit<CR>
" au FileType php nmap <buffer> <Leader>K :PhpactorHover<CR>
" au FileType php nmap <buffer> <Leader>tt :PhpactorTransform<CR>
" au FileType php nmap <buffer> <Leader>cc :PhpactorClassNew<CR>
" au FileType php nmap <buffer> <Leader>ci :PhpactorClassInflect<CR>
" au FileType php nmap <buffer> <Leader>fr :PhpactorFindReferences<CR>
" au FileType php nmap <buffer> <Leader>mf :PhpactorMoveFile<CR>
" au FileType php nmap <buffer> <Leader>cf :PhpactorCopyFile<CR>
" au FileType php nmap <buffer> <silent> <Leader>ee
" \ :PhpactorExtractExpression<CR>
" au FileType php vmap <buffer> <silent> <Leader>ee
" \ :<C-u>PhpactorExtractExpression<CR>
" au FileType php vmap <buffer> <silent> <Leader>em
" \ :<C-u>PhpactorExtractMethod<CR>
" augroup END
" <
"
" Note: the cucumber mappings are for the Behat extension:
"
" https://github.com/phpactor/behat-extension