Skip to content

Commit

Permalink
Added hotkeys to new commands, prepared files for release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KrazyManJ committed Feb 13, 2024
1 parent d83690b commit b18503e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Current available commands are:

---

### 2.2.0 *(Release comming soon)*
### 2.2.0

#### New commands

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "keyshots",
"name": "Keyshots",
"version": "2.1.2",
"version": "2.2.0",
"minAppVersion": "0.15.0",
"description": "Adds classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.",
"author": "KrazyManJ",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-keyshots",
"version": "2.1.2",
"version": "2.2.0",
"description": "",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions src/mappings/hotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export const DEFAULT_MAP: KeyshotsMap = {
duplicate_line_up: HotKey("ArrowUp", "Shift", "Alt"),
duplicate_selection_or_line: HotKey("D", "Mod", "Alt"),
expand_line_selections: HotKey("E", "Alt"),
go_to_next_fold: HotKey("]", "Mod", "Alt"),
go_to_previous_fold: HotKey("[", "Mod", "Alt"),
go_to_parent_fold: HotKey("P", "Mod", "Alt"),
insert_table: HotKey("T", "Shift", "Alt"),
insert_code_block: HotKey("`", "Mod", "Shift"),
insert_line_above: HotKey("Enter", "Mod", "Shift"),
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"2.0.1": "0.15.0",
"2.1.0": "0.15.0",
"2.1.1": "0.15.0",
"2.1.2": "0.15.0"
"2.1.2": "0.15.0",
"2.2.0": "0.15.0"
}

0 comments on commit b18503e

Please sign in to comment.