https://github.com/phux/padawan-navigator
https://github.com/phux/padawan-navigator
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phux/padawan-navigator
- Owner: phux
- License: unlicense
- Created: 2017-04-30T14:52:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-10T07:26:14.000Z (almost 9 years ago)
- Last Synced: 2025-01-17T02:24:22.852Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP code navigation in Neovim
WIP: Neovim plugin for providing code navigation by using [padawan.php](https://github.com/padawan-php/padawan.php).
## Try it
Install padawan.php
```
git clone https://github.com/phux/padawan.php.git ~/padawan.php
cd ~/padawan.php
git checkout code-navigator
composer install
```
In init.vim:
```
Plug 'phux/padawan-navigator', {'do': ':UpdateRemotePlugins'}
let g:padawan_navigator#server_command='~/padawan.php/bin/padawan-server'
nnoremap pp :call PadawanGetParents()
nnoremap pi :call PadawanGetImplementations()
nnoremap pc :call padawan_navigator#CloseWindow()
```
## Todo
* list parents (classes & interfaces) of current file - done
* list implementing classes/interfaces of current file - done
* push to taglist - currently only opening files, not jumping to tags
* `PadawanGetImplementations()` doesn't work for vendor files