Skip to content

Add option to disable default keybindings.#943

Closed
kadaliao wants to merge 1 commit intodavidhalter:masterfrom
kadaliao:master
Closed

Add option to disable default keybindings.#943
kadaliao wants to merge 1 commit intodavidhalter:masterfrom
kadaliao:master

Conversation

@kadaliao
Copy link

Copy link
Collaborator

@blueyed blueyed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is ok in general - although @davidhalter stated a while ago that he does not want new settings (#213 (comment)).
But it needs more adjustments - basically search for "auto_initialization" in the source, and adjust the doc/code accordingly.

btw: currently you can achieve this also be setting the various "g:jedi#X_command" settings to an empty string.

@blueyed
Copy link
Collaborator

blueyed commented Aug 21, 2019

Well, quoting @davidhalter:

You can just set all the mappings to "" and nothing will happen to your settings anymore. Considering that it's just 6 settings (and you probably won't disable all of them because you want some of them!)

Maybe the doc with "auto_initialization" should just provide an example to unset all of them?
Then you can just add those 6 lines to your config, if you want to delete all of them.

@kadaliao
Copy link
Author

Well, quoting @davidhalter:

You can just set all the mappings to "" and nothing will happen to your settings anymore. Considering that it's just 6 settings (and you probably won't disable all of them because you want some of them!)

Maybe the doc with "auto_initialization" should just provide an example to unset all of them?
Then you can just add those 6 lines to your config, if you want to delete all of them.

Oh yes. I started this because I wanted to change the default mappings to avoid conflict with other plugins. Just found out that I can directly change the mappings by setting the command string.

I guess the explicit disable option will be unnecessary. 😞

blueyed added a commit to blueyed/jedi-vim that referenced this pull request Aug 22, 2019
Also removes section for deprecated `goto_definitions_command`.

Ref: davidhalter#213
Closes davidhalter#943
@blueyed
Copy link
Collaborator

blueyed commented Aug 22, 2019

@kadaliao
No worries, and thanks for the PR in the first place!

I've created #944 as a follow-up.

@blueyed blueyed closed this Aug 22, 2019
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.

2 participants