Remapping certain key cause bell

Trying to remap a bunch of keys so my config can be similar to my vim config with IdeaVim and I'm noticing some weird conflicts with mapping ⌘+j and ⌘+k where it will cause the bell to ring even though the action completes. I've also had trouble remapping my leader key from vim into ",". I set the variable mapleader but it didn't work!

If I could get these working I would switch to webstorm fully!

3 comments
Comment actions Permalink

You can disable the bell - see https://youtrack.jetbrains.com/issue/VIM-1092#comment=27-1310290.

Adding

let mapleader = ","

to .vimrc should work... Can you elaborate on this issue?

 

0
Comment actions Permalink

It actually was working, sorry I remapped `,w` to save in my vimrc but it didn't work for ideavim. Setting it in the .ideavimrc worked though for `SaveAll`. Is there a way to map save current file? As well as I'm looking for a way to map moving up and down in the project sidebar. Currently, I have up and down mapped to ^k & ^j but only the arrows work in the sidebar even though they are unmapped. 

Also how do I turn off all the _ highlights due to me not using semicolons. (It would be nice to turn off the warnings regarding semicolons). I unchecked semicolons in the js style config.

Finally how can i get autocomplete for my files within javascript. When I'm doing 

import something from './filePath' it would be great to have autocomplete

0
Comment actions Permalink

>As well as I'm looking for a way to map moving up and down in the project sidebar. Currently, I have up and down mapped to ^k & ^j but only the arrows work in the sidebar even though they are unmapped. 

doesn't currently work, please vote for https://youtrack.jetbrains.com/issue/VIM-1071

 

>Also how do I turn off all the _ highlights due to me not using semicolons. (It would be nice to turn off the warnings regarding semicolons). I unchecked semicolons in the js style config.

You need to disable 'Unterminated statement' inspection in Settings | Editor | Inspections JavaScript | Code Style Issues

 

>Finally how can i get autocomplete for my files within javascript. When I'm doing

import something from './filePath' it would be great to have autocomplete

 

Completion in import statements works fine for me. Please provide a sample project that shows up the issue

0

Please sign in to leave a comment.