Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run qt project using fakevim keymap in qtcreator?

I would like to map qq key in FakeVim insert mode or command mode to run the current project. I googled but found nothing.There is option for Ex Command mapping. But I have no idea about it.

like image 963
deaddroid Avatar asked Feb 06 '17 02:02

deaddroid


People also ask

How do I run Qt in terminal?

For console applications, check the Run in terminal check box. To specify the terminal to use on Linux and macOS, select Edit > Preferences > Environment > System. To run with special environment variables set up, select them in the Run Environment section. For more information, see Selecting the Run Environment.


1 Answers

Assign "Run" action to "run" ex command in FakeVim configuration.

Ex Command Mapping configuration

Then put map qq :run<CR> line in your vimrc file which is read by FakeVim (default is %USERPROFILE%\_vimrc on Windows or ~/.vimrc; the path can be changed in "General" config tab).

like image 89
hluk Avatar answered Oct 21 '22 02:10

hluk