Skip to content

Instantly share code, notes, and snippets.

@Gurrium
Gurrium / script.js
Last active June 14, 2022 09:46
Scrapboxで見出しのレベルを変えるショートカット
const pattern = /\[(\*+) +([^ ].*)\]/
function deleteLine() {
var eventToMoveToStartOfLine = new KeyboardEvent('keydown', {
ctrlKey: true,
keyCode: '69', // e
bubbles: true,
cancelable: true,
})
document.getElementById('text-input').dispatchEvent(eventToMoveToStartOfLine)
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
if !&compatible
set nocompatible
endif
" reset augroup
augroup MyAutoCmd
autocmd!
augroup END
" dein settings {{{