Turn your Obsidian into compact text editor!
Keyshots is an Obsidian plugin that adds classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.
Apart from that, i want to add as much my custom and usefull commands as possible!
Adds actions like...
...move line up or down (Visual Studio Code: Alt + ↑ / Alt + ↓; Jetbrains: Shift + Alt + ↑ / Shift + Alt + ↓) ...
...add caret cursor up or down (Ctrl + Alt + ↑ / Ctrl + Alt + ↓) ...
...insert lines above or below (Shift + Enter / Ctrl + Shift + Enter) ...
...duplicate line up or down (Visual Studio Code duplication style) (Shift + Alt + ↑ / Shift + Alt + ↓) ...
...duplicate text or selection (Jetbrains duplication style) (Ctrl + D) ...
...toggle readable line length inside editor (Ctrl + Shift + R) ...
...toggle line numbers inside editor (Ctrl + Shift + L) ...
...encode or decode URI text (Ctrl + Alt + U) ...
...transform selected texts to Lowercase (Alt + L) / Uppercase (Alt + U) / Titlecase (Alt + C) ...
...join selected lines to one line (Crtl + Shift + J) ...
...split selections on new line (Alt + S) and trim selection (Alt + T) ...
...sort selected lines with alphanumeric comparison (Ctrl + Shift + S) ...
...transform selections to or from snakecase (Alt + -) ...
...And more commands comming soon!
Added in version 1.2.0, adds ability to choose default hotkeys mappings by IDEs presets.
Now you can choose from these IDEs:
- Visual Studio Code
- JetBrains IDEs Family (IntelliJ IDEA, PyCharm, WebStorm, ... )
- Microsoft Visual Studio (NEW IN 1.3.0)
-
Duplicate line or selection (JetBrains IDEs)
command is defaultly on the same hotkey asdelete line
command (Ctrl + D). That is because JetBrains IDEs have it the same way. Before usage change this action hotkey based on your preference or basically clearDelete line
command! -
For most of these commands, it requires more than one undo/revert actions, because these commands contain more than one instruction.