Skip to content

Conversation

@Ape
Copy link
Contributor

@Ape Ape commented Nov 20, 2015

Command completions (e.g. for 'open' commands) were previously automatically updated when command characters are being typed. I dislike this automatic behavior. With this commit the completion is only updated when TAB key is pressed.

The implementation is quite simple (see the commit diff), but maybe not very elegant since I only spent very little time learning the code base. Also, this should probably be an optional setting.

Does anybody have feedback about the idea or the implementation?

@Ape Ape force-pushed the pr/manual_completion_update branch from a788909 to 2a2df7b Compare November 21, 2015 08:26
@Ape
Copy link
Contributor Author

Ape commented Nov 21, 2015

I rewrote the implementation, and now I would be really happy to have it merged. The updated version is force pushed to this pull request for easy merging, and now the old version is visible on Ape/chromium-vim@a788909.

With this new version the commit adds a boolean option 'manualcompletion' that enables the feature. I set it to false by default. I also added README.txt and pages help texts. The new implementation is also simpler and touches less code.

@Ape Ape force-pushed the pr/manual_completion_update branch from 2a2df7b to ac6be78 Compare November 21, 2015 08:39
Ape added a commit to Ape/chromium-vim that referenced this pull request Nov 21, 2015
Command completions (e.g. for 'open' commands) were previously automatically
updated when command characters are being typed. This commit adds a boolean
option 'manualcompletion' that makes the completions update only when Tab key
is pressed.

Resolves 1995eaton#379.
@Ape Ape force-pushed the pr/manual_completion_update branch from ac6be78 to e77c823 Compare November 21, 2015 08:39
@Ape
Copy link
Contributor Author

Ape commented Nov 21, 2015

I noticed that I have reported this feature as issue #295. This pull request is the exact implementation to that issue.

Command completions (e.g. for 'open' commands) were previously automatically
updated when command characters are being typed. This commit adds a boolean
option 'manualcompletion' that makes the completions update only when Tab key
is pressed.

Resolves 1995eaton#295.
@Ape Ape force-pushed the pr/manual_completion_update branch from e77c823 to 58bb327 Compare April 20, 2017 14:39
@Ape
Copy link
Contributor Author

Ape commented Apr 20, 2017

Rebased on the current master and fixed trivial conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant