Is there a way to deindent selected text in a tiddler? Maybe a plugin that would give me a button?
Hi,
May be my trim-whitespace plugin may be an option for you. Have a closer look at the “leading” mode
-Mario
codemirror has keybindings for dedenting text. In theory, when using codemirror, hitting Ctrl-[ (or Cmd-[ ) should dedent your text.
How is the indentation created?
If it is by tab characters then @pmario has previously described how to construct a editor toolbar button to insert the tab character, for indentation. In his description, he also informs how to make it behave like inserting bullets, i.e you can do it for multiple lines at once - and also remove them.
Oh cool, thank you so much, I think that’s exactly what i need!
The indentation is space-based. I sometimes paste from code like this:
fn main() {
code
}
I think would paste just the code
line, which would have the leading space.
Though how do I install it under nodejs?
Ah, I figured it out – used drag and drop.
Oh, this is nice, that does work! Is there some docs on the shortcuts and other features of that plugin besides that thread?