Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting to enable Vim Editor only for certain filetypes #6151

Open
superman11111111 opened this issue Feb 17, 2021 · 12 comments
Open

Setting to enable Vim Editor only for certain filetypes #6151

superman11111111 opened this issue Feb 17, 2021 · 12 comments

Comments

@superman11111111
Copy link

I like to edit some files (js) with the VSCode editor because of the auto complete and other files (py) with Vim because I am faster with the key bindings. It is annoying to enable/disable the Extension every time I want to edit a file, this feature would probably make me switch entirely to VSCode.

@ccll
Copy link

ccll commented Mar 24, 2022

This is useful as VIM mode is conflict with Jupyter notebooks, also it's very annoying using VIM mode to move and edit many small cells instead of a large chunk of file.

Related issues:
#6950
#6960

@m-a-r-o-u
Copy link

Is this still worked on? I just found closed issues but no solution!

@ghidalgo3
Copy link

I would really like this to be fixed. I am having to fight too much muscle memory while using the Notebook interface, and its really really annoying that z is bound by both Vim and the Notebook. I've deleted many cells without noticing :(

@Primebrook
Copy link

Are there any updates on this? Would be suuuper useful for notebook work.

@funatsufumiya
Copy link

funatsufumiya commented Dec 16, 2022

Just workaround, this instruction was useful for me:

  • Start in disabled mode ( by setting "vim.disableExtension": true )
  • Toggle mode by Ctrl+Shift+P and choose Vim: Toggle Vim Mode if vim is needed.

see #2113

@FeFiFoFu
Copy link

FeFiFoFu commented Jan 2, 2023

I switch between notebook and editor very often. You can add a keyboard shortcut to toggle the "Vim: Toggle Vim Mode". Gear icon > Keyboard Shortcuts > Vim: Toggle Vim Mode... I assigned Alt+a for myself.

@v3ss0n
Copy link

v3ss0n commented Jan 11, 2023

Notebook is not an normal editor at all , VSCodeVIm should be disabled by default.

@seeM
Copy link

seeM commented Apr 25, 2023

+1 I find that if VIM mode worked perfectly in notebooks I would still prefer to disable it. Otherwise you have 3 different modes and that feels like too much friction: notebook command mode, VIM command mode inside a cell, VIM edit mode inside a cell.

@v3ss0n
Copy link

v3ss0n commented Apr 25, 2023

Same problem for me too. very bad experience.

@HolaYang
Copy link

+1, still waiting for a solution

@schorschie
Copy link

The "vim: vim mode toggle" doesn't appear in my command window. Do I have to activate it somehow?

PS it would be really nice to have a setting for file types, where vim is disabled. It just doesn't work (and doesn't have to work) with Jupyter notebooks.

@FeFiFoFu
Copy link

FeFiFoFu commented Jul 5, 2023

"vim: vim mode toggle" doesn't appear in my command window.

Hi, not in command window. For me the gear icon is at very bottom left corner of VS Code window. Then "Keyboard Shortcuts".

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

No branches or pull requests