README file from
GithubObsidian Kill and Yank
Obsidian plugin to enable kill and yank (like Emacs) in the editor.
Obsidian https://obsidian.md
Usage
Kill line
Cut from the cursor position to the end of the line.
default: Control + k
Kill region
Cut the selection.
default: Control + w
Yank
Paste kill ring.
default: Control + y
Set mark
Toggle the start position of the selection.
default: Control + Space
Note
This plugin enables kill and yank in the editor, but does not enable kill and yank in the title.
If you wish to continue to use kill and yank in the title, change the default key mappings.
Development
Setup
yarn install
Format
yarn format:check
yarn format:fix
Lint
yarn lint
yarn lint:fix
Build
yarn build
Manually installing this plugin
Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/kill-and-yank/.