Welcome. For CTRL-TAB
to simply insert a TAB character, try putting the following code inside file custom.js
(create in folder logseq
if it doesn’t already exist), then restart Logseq and accept the warning:
document.addEventListener("keyup", (e)=>{
if (e.code === "Tab" && e.ctrlKey) {
const ta = document.querySelector("textarea")
const text = ta.value
ta.value = text.slice(0, ta.selectionStart) + "\t" + text.slice(ta.selectionEnd)
}
});