Skip to content

Commit bf9f9b6

Browse files
plejd-sebmanjesseduffield
authored andcommitted
provide section for openLink
- this helps to solve issues as in #3052 - provide an example of how to pass it to a bash script
1 parent d520d5e commit bf9f9b6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/Config.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,13 @@ os:
659659
open: 'open {{filename}}'
660660
```
661661
662+
## Custom Command for Opening a Link
663+
```yaml
664+
os:
665+
openLink: 'bash -C /path/to/your/shell-script.sh {{link}}'
666+
```
667+
Specify the external command to invoke when opening URL links (i.e. creating MR/PR in GitLab, BitBucket or GitHub). `{{link}}` will be replaced by the URL to be opened. A simple shell script can be used to further mangle the passed URL.
668+
662669
## Custom Command for Copying to and Pasting from Clipboard
663670
```yaml
664671
os:

0 commit comments

Comments
 (0)