This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const pattern = /\[(\*+) +([^ ].*)\]/ | |
| function deleteLine() { | |
| var eventToMoveToStartOfLine = new KeyboardEvent('keydown', { | |
| ctrlKey: true, | |
| keyCode: '69', // e | |
| bubbles: true, | |
| cancelable: true, | |
| }) | |
| document.getElementById('text-input').dispatchEvent(eventToMoveToStartOfLine) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export TERM="xterm-256color" | |
| export XDG_CONFIG_HOME=$HOME/.config | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=/Users/username/.oh-my-zsh | |
| plugins=(git) | |
| source $ZSH/oh-my-zsh.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if !&compatible | |
| set nocompatible | |
| endif | |
| " reset augroup | |
| augroup MyAutoCmd | |
| autocmd! | |
| augroup END | |
| " dein settings {{{ |