Merge pull request #101 from adgai19/cmd-ui-docs

Added docs for dynamic commands
This commit is contained in:
ThePrimeagen 2021-10-20 23:12:56 -06:00 committed by GitHub
commit dff4fb13e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,13 @@ lua require("harpoon.term").sendCommand(1, 1)
lua require("harpoon.term").sendCommand(1, "ls -la")
```
#### Dynamic commands to terminal
This feature adds ability to change commands while working inside a project.
Just call the following function to edit commands inside the list
```lua
lua require('harpoon.ui-cmd').toggle_quick_menu()
```
### Setup
Setup should be called once.