Add an option to disable key bindings
See original GitHub issueHey,
Would you be willing to add an option to disable binding keys? (Apologies if it exists already, I only see g:jedi#auto_initialization = 0
but that disables more than just mappings).
I know you can remap each key to make it use a different key, but that means that users have to go look up each map and pick some other key, even if they don’t care about it (i.e., I just want Jedi to not quash my mappings, I don’t really care about all the functionality it’s mapping).
Another alternative (or something to consider) based on the above would be to not map keys if they’re already mapped to something else.
Issue Analytics
- State:
- Created 10 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Add an option to disable all key bindings #878 - GitHub
Proposal Has something like "gitlens.keymap": "none" to disable all keymaps.
Read more >Disable default option key binding - macos - Super User
It's preferable to create your own key bindings file like this rather than ... source ( System Preferences > Keyboard > Input Sources...
Read more >Add option to disable vim plugin key bindings in insert mode
Option +shift+arrow keys work, but you can't select a single character. This is due to to ideavim binding shift+arrow keys to vim commands....
Read more >Visual Studio Code Key Bindings
Here you will find the complete list of key bindings for Visual Studio Code and how to ... To override and disable any...
Read more >How to disable Keyboard Shortcuts on Windows 11/10
We show you how to disable keyboard shortcuts on Windows 11/10 using Group Policy Editor, Windows Registry Editor, and PowerToys.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree with @Julian, I would like a feature like this as well, especially since I don’t use jedi-vim as much by itself rather than integrate it into existing completion frameworks (such as deoplete, neocomplete) so that it is consistent with other languages I program in.
I think the best solution is to use the <Plug> mapping and have a setting to disable the mapping, or something equivalent.
Sorry to post on an old issue, but I still think this would be a useful feature. I, too, was looking for an option to disable setting of the default keymappings (without turning off other initialization steps, e.g. omnifunc).
That said, I respect that you want to keep jedi-vim’s configuration/API small.