v0.9.81
Changes
- Implement one-shot toggle to copy text while mouse tracking is active. #588
New configurable menu button:
Action | Description |
---|---|
TerminalSelectionOneShot |
One-shot toggle to copy text while mouse tracking is active. Keep selection if Ctrl key is pressed.The data= attribute can have the following values none , text , ansi , rich , html , protected . |
Closes #588
Configuration example (~/.config/vtm/settings.xml
)
<config>
<term>
<item label=" HTML " data=none type=Option action=TerminalSelectionOneShot>
<label="\e[48:2:0:128:128;38:2:0:255:255m HTML \e[m" data=html/>
<notes>
" One-shot toggle to copy as HTML \n"
" while mouse tracking is active. "
</notes>
</item>
<item label=" Text " data=none type=Option action=TerminalSelectionOneShot>
<label="\e[48:2:0:128:0;38:2:0:255:0m Text \e[m" data=text/>
<notes>
" One-shot toggle to copy as Text \n"
" while mouse tracking is active. "
</notes>
</item>
<item label="One-Shot" data=none type=Option action=TerminalSelectionOneShot>
<label="\e[48:2:0:128:0;38:2:0:255:0m Text \e[m" data=text/>
<label="\e[48:2:0:128:128;38:2:0:255:255m HTML \e[m" data=html/>
<notes>
" One-shot toggle to copy as Text/HTML \n"
" while mouse tracking is active. "
</notes>
</item>
</term>
</config>