plugins
[
"AdvancedNewFile",
"AutoFileName",
"Babel",
"Color Highlight",
"Emmet",
"Git",
"Git blame",
| cursor: | |
| style: | |
| shape: Beam | |
| blinking: Always | |
| blinking_interval: 500 | |
| vi_mode_style: | |
| shape: Block | |
| selection: | |
| # This string contains all characters that are used as separators for |
| // put this in your browser console! | |
| qwe = () => document.onkeypress = e => { | |
| if (e.keyCode == 118) { | |
| let button = document.querySelector('.GameVideo-self-video-container button'); | |
| if (!button) button = document.querySelector('.GameVideosContainer-videobar-content button'); | |
| button.click(); | |
| } | |
| } |
| const BarcodeReader = ({ onScan }) => { | |
| const [str, setStr] = useState('') | |
| function handleReceive(scanData) { | |
| const key = scanData.key | |
| // if it's enter key then perform onScan | |
| if (key === 'Enter' && onScan) { | |
| onScan(str) | |
| setStr('') |
plugins
[
"AdvancedNewFile",
"AutoFileName",
"Babel",
"Color Highlight",
"Emmet",
"Git",
"Git blame",