Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IdeaVim plugin - run current file

Is it possible to call Intellij IDE actions with IdeaVim plugin (via some bindings maybe)?

For example:

:runfile

Will run current Java class.

I know about Quick Action Menu Cmd+Shift+A, but I want to use IDE in Vim style.

like image 315
Sonique Avatar asked May 11 '15 15:05

Sonique


People also ask

How do I run a current file in IntelliJ?

Press ⌃⇧R (macOS), or Ctrl+Shift+F10 (Windows/Linux), to run the file in its current context.

How do I enable IdeaVim?

Install the IdeaVim pluginIn the Settings/Preferences dialog ( Ctrl+Alt+S ), select Plugins. Find the IdeaVim plugin in the Marketplace and click Install. Restart IntelliJ IDEA.

What is IdeaVim plugin?

IdeaVim Bundle. Vim emulation plugin for IntelliJ Platform-based IDEs. IdeaVim supports many Vim features including normal/insert/visual modes, motion keys, deletion/changing, marks, registers, some Ex commands, Vim regexps, configuration via ~/. ideavimrc, macros, Vim plugins, etc.

What's IdeaVim?

IdeaVim is a Vim emulation plugin for IntelliJ or other Jetbrains IDEs. This plugin are officially developed by Jetbrains as you can see the repository owner name.


1 Answers

Yes, you can use :action and :actionlist commands.

like image 92
Andrey Vlasovskikh Avatar answered Oct 31 '22 21:10

Andrey Vlasovskikh