You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arjun Mahishi edited this page Jan 4, 2023
·
1 revision
:FlowLauncher is a command that helps manage custom commands powered by this plugin. The launcher is built as a telescope extension. This can be used to quickly create/edit/delete custom commands that you want to run while writing code. For example, running tests, compiling, running linters, running the code, etc.
Run the command :FlowLauncher. This will launch a telescope interface to manage custom commands. Here you can add/edit/remove custom commands. If you are running this for the first time, you will have no custom commands. So, just type an alias you want for the custom command and hit enter
This will open a new buffer where you can type in the command you want to run and save it. Saving will automatically close the buffer
Run :FlowLauncher again. Now you will be able to see the new command you just created. Navigate to that using either arrows or any key bindings you have set to navigate telescope. Once you navigate to the command, hit enter. This will execute the command and print the output as a message (displayed at the bottom. Refer docs)
output
Run :FlowLauncher again. Now navigate to the same command and press ctrl-e. This will open up the command editing buffer again where you can edit the command to run and save
You can add as many custom commands as you want. Typing an alias that doesn't already existing and hitting enter in the telescope interface will create new command (like step 2)
When you have multiple custom commands, you can start typing in the telescope interface to search through the aliases
You can delete a custom command by navigating to the alias you want to delete and pressing ctrl-d