1
0
mirror of https://github.com/elisspace/ObsidianTweaks.git synced 2026-08-29 23:52:09 +00:00
Jeppe Klitgaard dca00ed9b5 Version 0.2.0
2021-06-12 23:20:20 +01:00
2021-06-12 23:20:20 +01:00
2021-05-31 23:08:39 +01:00
2021-05-31 23:08:39 +01:00
2021-06-12 23:20:20 +01:00
2021-06-12 23:20:20 +01:00
2021-06-12 23:20:20 +01:00
2021-05-31 23:08:39 +01:00
2021-05-31 23:13:27 +01:00
2021-05-31 23:08:39 +01:00
2021-06-12 23:20:20 +01:00
2021-06-12 23:20:20 +01:00

ObsidianTweaks

This is a small plugin that implements some features of Obsidian that I believe should've been of the core release -- perhaps in the future they will be? ❤️

Features

Below is a list of the current functionality that has been implemented.

Note that hotkeys cannot be 'disabled', but they can be set to Blank. They are all set to Blank by default.

Hotkeys

Recommended hotkey Action
Alt + Move Selection Left
Alt + Move Selection Right
Blank Toggle Better Bold (asterisks)
Ctrl + B Toggle Better Bold (underscores)
Blank Toggle Better Italics (asterisks)
Ctrl + I Toggle Better Italics (underscores)
Blank Toggle Better Code
CTRL + / Toggle Better Comment
Blank Toggle Better Highlight
Blank Toggle Better Strikethrough
Ctrl + Shift + A Select Current Line(s)
Shift + Alt + Copy Current Line(s) Up
Shift + Alt + Copy Current Line(s) Down
Shift + Alt + Copy Current Line(s) Left
Shift + Alt + Copy Current Line(s) Right
Ctrl + Alt + 1 Toggle Heading - H1
Ctrl + Alt + 2 Toggle Heading - H2
Ctrl + Alt + 3 Toggle Heading - H3
Ctrl + Alt + 4 Toggle Heading - H4
Ctrl + Alt + 5 Toggle Heading - H5
Ctrl + Alt + 6 Toggle Heading - H6

Move selection

Move selection does not support going across lines. This seems unnecessary and is really messy to implement.

Better Toggles

The default toggles in Obsidian can be quite wonky and do not always work well. The toggles implemented here should always return to the same state when toggled twice.

They also do nice word-wrapping for you.

Additionally Bold and Italics are implemented with underscores as well as asterisks. Simply bind the command you want.

Math toggles are also included.

Philosophy

  • By default no features are enabled. You can enable the features you want.
    • Thus all features can also be disabled.
  • All code is released into public domain without any requirement for attribution using the Unlicense.

Why Unlicense?

In case the developers of Obsidian want to just straight copy some code into Obsidian, they can do that without worrying about licensing at all.

Note that any contributions to ObsidianTweaks will thus also be Unlicensed.

Honorable Mentions

I initally planned to contribute to the Hotkeys++ plugin, but since I don't necessarily want ObsidianTweaks to be limited to hotkeys in the future, I decided to make my own.

Contributors

Description
A plugin that implements a number of tweaks that should've been native to Obsidian.
Readme Unlicense 2.1 MiB
Languages
TypeScript 96.7%
JavaScript 3.2%