question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to disable key bindings

See original GitHub issue

Hey,

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:closed
  • Created 10 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dbrodiecommented, Oct 27, 2016

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.

2reactions
sloriacommented, May 4, 2015

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found