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

Save actions do not trigger on vim plugin save #220

Closed
jhzhang09 opened this issue Jan 30, 2019 · 7 comments
Closed

Save actions do not trigger on vim plugin save #220

jhzhang09 opened this issue Jan 30, 2019 · 7 comments

Comments

@jhzhang09
Copy link

v1.2.0 work well, but 1.3.0 and 1.4.0 do not work.

IDEA version:
IntelliJ IDEA 2018.3.4 (Ultimate Edition)

@dubreuia
Copy link
Owner

I though vim plugin never worked, see #28. Might be related with #222

@dubreuia dubreuia added the bug label Jan 30, 2019
@dubreuia dubreuia changed the title Do not work when use vim plugin save Save actions do not trigger on vim plugin save Jan 30, 2019
@bborchard
Copy link

On normal save ":w" it won't work because the plugin does not handle a single document save action (see #222).
A workaround is to use ":wa" to save in the vim plugin. This should trigger the 'Save All' action and thus the actions associated with this plugin

@dubreuia
Copy link
Owner

dubreuia commented Mar 14, 2019

Received by mail

I am also using idea VIM with Intellij. I have save actions configured to optimize imports and reformat the file. However, my save actions configuration is not enacted when I save the file using the classic VIM saving keys ":w" + enter. My save actions configuration does work perfectly when I use Ctrl + S.

Do you know how to make save actions work with the classic VIM saving keys ":w"?

I have attached my Vim Emulation shortcut conflicts.

I have tried making Ctrl + S use VIM as the Handler, but that did not work. Any help would be appreciated.

vim_emulation_example

@artus
Copy link

artus commented Mar 20, 2019

I have tried making Ctrl + S use VIM as the Handler, but that did not work. Any help would be appreciated.

This setting only chooses who should act upon a the capture of the CTRL+S shortcut:

Changing this setting will not influence what happens if the VIM ":w + ENTER" command is executed.

Any update on this issue? Does anyone have an idea why this functionality stopped working?

@bborchard
Copy link

Pretty sure it never worked - really this is a duplicate of #222 as that encapsulates the overarching issue.

@dubreuia
Copy link
Owner

Yeah it's the same issue as #222

@dubreuia
Copy link
Owner

Duplicates #222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants