fix: add docs

This commit is contained in:
EthanJWright 2021-08-18 20:24:03 -06:00
parent 7758ef1a0c
commit 7670f8d7a9

View File

@ -137,6 +137,7 @@ require("harpoon").setup({
global_settings = { global_settings = {
save_on_toggle = false, save_on_toggle = false,
save_on_change = true, save_on_change = true,
enter_on_sendcmd = false,
}, },
... your other configs ... ... your other configs ...
}) })
@ -148,6 +149,8 @@ require("harpoon").setup({
enable this option (on by default) harpoon will not save any changes to your enable this option (on by default) harpoon will not save any changes to your
file. It is very unreliable to save your harpoon on exit (at least that is file. It is very unreliable to save your harpoon on exit (at least that is
what I have found). what I have found).
* `enter_on_sendcmd` will set harpoon to run the command immediately as it's
passed to the terminal when calling `sendCommand`.
#### Preconfigured Terminal Commands #### Preconfigured Terminal Commands
These are project specific commands that you wish to execute on the regular. These are project specific commands that you wish to execute on the regular.