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
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.
657
668
658
669
## Custom Command for Copying to and Pasting from Clipboard
670
+
659
671
```yaml
660
672
os:
661
673
copyToClipboardCmd: ''
662
674
```
675
+
663
676
Specify an external command to invoke when copying to clipboard is requested. `{{text}` will be replaced by text to be copied. Default is to copy to system clipboard.
664
677
665
678
If you are working on a terminal that supports OSC52, the following command will let you take advantage of it:
For tmux you need to wrap it with the [tmux escape sequence](https://github.com/tmux/tmux/wiki/FAQ#what-is-the-passthrough-escape-sequence-and-how-do-i-use-it), and enable passthrough in tmux config with `set -g allow-passthrough on`:
For the best of both worlds, we can let the command determine if we are running in a tmux session and send the correct sequence:
693
+
678
694
```yaml
679
695
os:
680
696
copyToClipboardCmd: >
@@ -686,10 +702,12 @@ os:
686
702
```
687
703
688
704
A custom command for reading from the clipboard can be set using
705
+
689
706
```yaml
690
707
os:
691
708
readFromClipboardCmd: ''
692
709
```
710
+
693
711
It is used, for example, when pasting a commit message into the commit message panel. The command is supposed to output the clipboard content to stdout.
694
712
695
713
## Configuring File Editing
@@ -832,6 +850,27 @@ gui:
832
850
833
851
Note that the regular expressions are not implicitly anchored to the beginning/end of the branch name. If you want to do that, add leading `^` and/or trailing `$` as needed.
834
852
853
+
## Custom Files Icon & Color
854
+
855
+
You can customize the icon and color of files based on filenames or extensions:
0 commit comments