Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Features:

- [vim-plugin] Add new `GotoDefinition[Vsplit|Hsplit|Tab]` functions.
- [code-builder] Initial support for nullable types. Thanks @einenlum!
- [vim-plugin] FZF integration for list inputs (#769). Thanks @elythyr!
- [vim-plugin] FZF multiple selection (#773). Thanks @elythyr!

Bug fixes:

Expand Down
1 change: 1 addition & 0 deletions doc/refactorings.md
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@ Overide a method from a parent class.
- **Command**: _RPC only_
- **VIM plugin**: _Class context menu > Override method_.
- **VIM function**:`:call phpactor#ContextMenu()`
- **Multiple selection**: Supports selecting multiple methods.

### Motivation

Expand Down
12 changes: 12 additions & 0 deletions doc/vim-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ The input list is the window shown to let you choose an item among a list.
### Strategies

This plugin provides two strategy to handle input lists:

- `inputlist`: Vim's internal `inputlist()` function.
- `fzf`: Fuzzy finder using [Fzf](https://github.com/junegunn/fzf) plugin.

Expand All @@ -309,3 +310,14 @@ You can choose between those strategies by specifying the option
When no strategy is defined the plugin will default to the `fzf` strategy if
the [Fzf](https://github.com/junegunn/fzf) plugin is loaded or to `inputlist`
if it's not.

### FZF Multi-selection

Some refactorings will allow you to select multiple entires (for example
[override
method](https://phpactor.github.io/phpactor/refactorings.html#override-method).
Use `<tab>` to toggle selection and CTRL-A/CTRL-D to select all/select none.

See the
[Fzf](https://github.com/junegunn/fzf) documentation for more details.