Dmytro-Shulha / obsidian-editor-shortcuts

Obsidian plugin to add keyboard shortcuts commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Editor Shortcuts

This Obsidian plugin adds keyboard shortcuts (hotkeys) commonly found in code editors such as Visual Studio Code or Sublime Text.

Command Shortcut *
Insert line below Ctrl + Enter **
Insert line above Ctrl + Shift + Enter
Delete line Ctrl + Shift + K
Duplicate line Ctrl + Shift + D
Join line below to current line Ctrl + J
Select line (repeat to keep expanding selection) Ctrl + L
Go to start of line Not set
Go to end of line Not set
Transform selection to uppercase Not set
Transform selection to lowercase Not set
Transform selection to title case Not set
Expand selection to brackets Not set
Expand selection to quotes Not set
Go to next heading Not set
Go to previous heading Not set

* On macOS, replace Ctrl with Cmd

** This may conflict with the default shortcut for Toggle checklist status; changing/removing one of the bindings is recommended


Note: these shortcuts currently do not work with multiple cursors

Installing the plugin

Refer to the official installation instructions for third-party plugins here.

Configuring settings

Go to Settings → Hotkeys to customise the keyboard shortcut for each action.

Contributing

Contributions and suggestions are welcome – feel free to open an issue or raise a pull request.

To get started:

  • Switch to the specified Node version: nvm use
  • Install dependencies: yarn install
  • Run the extension: yarn start

About

Obsidian plugin to add keyboard shortcuts commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text

License:MIT License


Languages

Language:TypeScript 94.7%Language:JavaScript 4.8%Language:Shell 0.4%